System::Xml::Schema::XmlSchemaExternal 类

XmlSchemaExternal class

提供有关已包含模式的信息。

class XmlSchemaExternal : public System::Xml::Schema::XmlSchemaObject

方法

方法描述
get_Id()返回字符串 id。
get_Schema()返回对引用模式的 XmlSchema
get_SchemaLocation()返回模式的统一资源标识符(URI)位置,该位置告诉模式处理器模式实际所在的位置。
get_UnhandledAttributes()返回限定属性,这些属性不属于模式的目标命名空间。
set_Id(const String&)设置字符串 id。
set_Schema(const SharedPtr<XmlSchema>&)设置对引用模式的 XmlSchema
set_SchemaLocation(const String&)设置模式的统一资源标识符(URI)位置,该位置告诉模式处理器模式实际所在的位置。
set_UnhandledAttributes(const ArrayPtr<SharedPtr<XmlAttribute>>&)设置限定属性,这些属性不属于模式的目标命名空间。
XmlSchemaExternal()初始化 XmlSchemaExternal 类的新实例。

Typedefs

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

备注

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

另见