XmlSchemaAttribute.Use 屬性

定義

取得或設定該屬性如何使用的資訊。

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

屬性值

以下值之一:無、禁止、可選或必需。 預設為可選。 Optional.

備註

若指定,該屬性必須具有下表所示的值之一。

Enum Description
None 屬性沒有價值。
Prohibited 屬性無法使用。
Optional 屬性為可選,且可有任意值。 此為預設值。
Required 屬性必須出現一次。

適用於