IXmlSchemaInfo.MemberType 属性

定义

为这个被验证的 XML 节点获取动态架构类型。Gets the dynamic schema type for this validated XML node.

public:
 property System::Xml::Schema::XmlSchemaSimpleType ^ MemberType { System::Xml::Schema::XmlSchemaSimpleType ^ get(); };
public System.Xml.Schema.XmlSchemaSimpleType? MemberType { get; }
public System.Xml.Schema.XmlSchemaSimpleType MemberType { get; }
member this.MemberType : System.Xml.Schema.XmlSchemaSimpleType
Public ReadOnly Property MemberType As XmlSchemaSimpleType

属性值

XmlSchemaSimpleType

表示此验证的 XML 节点的动态架构类型的 XmlSchemaSimpleType 对象。An XmlSchemaSimpleType object that represents the dynamic schema type for this validated XML node.

注解

MemberType仅当 xml 节点的静态类型是联合类型时,才设置属性,在这种情况下, MemberType 属性将从验证 XML 节点的联合返回类型。The MemberType property is set only if the static type of the XML node is a union type in which case the MemberType property will return the type from the union the XML node validated against.

适用于