System::Xml::Schema::XmlSchemaObjectTable 类

XmlSchemaObjectTable class

提供 XmlSchema 类中包含的元素的集合(例如,Attributes、AttributeGroups、Elements 等)。

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

方法

方法描述
Contains(const SharedPtr<XmlQualifiedName>&)确定指定的限定名称是否存在于集合中。
get_Count()返回 XmlSchemaObjectTable 中包含的项数。
get_Names()返回 XmlSchemaObjectTable 中所有已命名元素的集合。
get_Values()返回 XmlSchemaObjectTable 中所有元素的所有值的集合。
GetEnumerator() override返回一个可遍历 XmlSchemaObjectTable 的枚举器。
idx_get(const SharedPtr<XmlQualifiedName>&)返回 XmlSchemaObjectTable 中由限定名称指定的元素。

Typedefs

类型定义描述
Ptr此类实例的共享指针别名。

备注

此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 new 运算符创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。

另见