System::Xml::Schema::XmlSchemaObjectEnumerator class

XmlSchemaObjectEnumerator class

Represents the enumerator for the XmlSchemaObjectCollection.

class XmlSchemaObjectEnumerator : public System::Collections::Generic::IEnumerator<SharedPtr<System::Xml::Schema::XmlSchemaObject>>

Methods

MethodDescription
CloneIterator() const overrideClones current iterator.
Dispose() overrideDoes nothing.
get_Current() const overrideReturns the current XmlSchemaObject in the collection.
MoveNext() overrideMoves to the next item in the collection.
Reset() overrideResets the enumerator to the start of the collection.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also