共用方式為


IsCode 屬性

Gets or sets a value indicating whether the attribute is the Code attribute.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.dll 中)

語法

'宣告
<DataMemberAttribute(IsRequired := False)> _
Public Property IsCode As Boolean
    Get
    Set
'用途
Dim instance As MetadataAttribute
Dim value As Boolean

value = instance.IsCode

instance.IsCode = value
[DataMemberAttribute(IsRequired = false)]
public bool IsCode { get; set; }
[DataMemberAttribute(IsRequired = false)]
public:
property bool IsCode {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute(IsRequired = false)>]
member IsCode : bool with get, set
function get IsCode () : boolean
function set IsCode (value : boolean)

屬性值

型別:System. . :: . .Boolean
true if the attribute is the Code attribute; otherwise, false.