System::Xml::Schema::XmlSchemaCollectionEnumerator class

XmlSchemaCollectionEnumerator class

Supports a simple iteration over a collection. This class cannot be inherited.

class XmlSchemaCollectionEnumerator : public System::Collections::Generic::IEnumerator<SharedPtr<System::Xml::Schema::XmlSchema>>

Methods

MethodDescription
CloneIterator() const overrideClones current iterator.
Dispose() overrideDoes nothing.
get_Current() const overrideReturns the current XmlSchema in the collection.
MoveNext() overrideAdvances the enumerator to the next schema in 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