SettingAttributes 屬性群組

更新:2007 年 11 月

包含屬性,這些屬性用於描述設定及該設定之行為的詳細資訊。

<xs:attributeGroup name="SettingAttributes">
    <xs:attribute name="Name"
        type="string"
        use="required"
     />
    <xs:attribute name="Definition"
        type="string"
        use="required"
     />
    <xs:attribute name="State"
        type="@lt:SettingState@lid:07d1499e-bec3-4adb-9fbb-29e425b0c4a2"
        use="optional"
     />
    <xs:attribute name="Fixed"
        type="boolean"
        use="optional"
     />
    <xs:attribute name="List"
        type="boolean"
        use="optional"
     />
    <xs:attribute name="Null"
        type="boolean"
        use="optional"
     />
    <xs:attribute name="Secure"
        type="boolean"
        use="optional"
     />
    <xs:attribute name="FailedToSerialize"
        type="boolean"
        use="optional"
     />
</xs:attributeGroup>

屬性

名稱

型別

描述

Definition

string

設定的設定定義 (或型別)。

FailedToSerialize

boolean

如果無法序列化設定值則為 True,否則為 False。

Fixed

boolean

如果不會變更設定值則為 True,如果會變更設定值則為 False。

List

boolean

如果設定可包含值清單則為 True,如果設定僅能包含一個值則為 False。

Name

string

設定的名稱。

Null

boolean

如果設定值可為 Null 則為 True,如果設定值不得為 Null 則為 False。

Secure

boolean

如果是安全的設定值則為 True,否則為 False。

State

SettingState 簡單型別

設定的狀態,其中描述是否已設定設定值。