XmlSchemaElement.SchemaType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置元素类型。 这可以是复杂类型,也可以是简单类型。
public:
property System::Xml::Schema::XmlSchemaType ^ SchemaType { System::Xml::Schema::XmlSchemaType ^ get(); void set(System::Xml::Schema::XmlSchemaType ^ value); };
public System.Xml.Schema.XmlSchemaType? SchemaType { get; set; }
public System.Xml.Schema.XmlSchemaType SchemaType { get; set; }
member this.SchemaType : System.Xml.Schema.XmlSchemaType with get, set
Public Property SchemaType As XmlSchemaType
属性值
元素的类型。
注解
若要使用现有 simpleType 或 complexType 定义声明元素,请使用 SchemaType 该属性指定现有类型。 如果RefName属性存在、complexType、、simpleType、key、unique和keyref元素,nillable``default则不能存在、fixed、form、、和block``SchemaType属性。