System.Xml.Schema.XmlSchemaCollectionEnumerator.MoveNext C# (CSharp) Méthode

MoveNext() public méthode

public MoveNext ( ) : bool
Résultat bool
        public bool MoveNext()
        {
            return _enumerator.MoveNext();
        }

Usage Example

Exemple #1
0
        void ICollection.CopyTo(Array array, int index)
        {
            ArgumentNullException.ThrowIfNull(array);

            if (index < 0)
            {
                throw new ArgumentOutOfRangeException(nameof(index));
            }
            for (XmlSchemaCollectionEnumerator e = this.GetEnumerator(); e.MoveNext();)
            {
                if (index == array.Length)
                {
                    throw new ArgumentOutOfRangeException(nameof(index));
                }
                array.SetValue(e.Current, index++);
            }
        }
All Usage Examples Of System.Xml.Schema.XmlSchemaCollectionEnumerator::MoveNext