System::Xml::Schema::XmlSchemaObjectTable class

XmlSchemaObjectTable class

Provides the collections for contained elements in the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).

class XmlSchemaObjectTable : public System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<SharedPtr<System::Xml::XmlQualifiedName>, SharedPtr<System::Xml::Schema::XmlSchemaObject>>>

Methods

MethodDescription
Contains(const SharedPtr<XmlQualifiedName>&)Determines if the qualified name specified exists in the collection.
get_Count()Returns the number of items contained in the XmlSchemaObjectTable.
get_Names()Returns a collection of all the named elements in the XmlSchemaObjectTable.
get_Values()Returns a collection of all the values for all the elements in the XmlSchemaObjectTable.
GetEnumerator() overrideReturns an enumerator that can iterate through the XmlSchemaObjectTable.
idx_get(const SharedPtr<XmlQualifiedName>&)Returns the element in the XmlSchemaObjectTable specified by qualified name.

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