XmlSchemaAttribute.Use Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets information about how the attribute is used.
public:
property System::Xml::Schema::XmlSchemaUse Use { System::Xml::Schema::XmlSchemaUse get(); void set(System::Xml::Schema::XmlSchemaUse value); };
public System.Xml.Schema.XmlSchemaUse Use { get; set; }
member this.Use : System.Xml.Schema.XmlSchemaUse with get, set
Public Property Use As XmlSchemaUse
Property Value
One of the following values: None, Prohibited, Optional, or Required. The default is Optional. Optional.
Remarks
If specified, this attribute must have one of the values shown in the following table.
Enum | Description |
---|---|
None |
Attribute has no value. |
Prohibited |
Attribute cannot be used. |
Optional |
Attribute is optional and may have any value. This is the default. |
Required |
Attribute must appear once. |
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.