Share via


MetadataAttribute.IsCode Property

Gets or sets a value that indicates whether the attribute is a code attribute.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False)> _
Public Property IsCode As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Boolean
true if the attribute is a code attribute; otherwise, false.

See Also

Reference

MetadataAttribute Class

Microsoft.MasterDataServices.Services.DataContracts Namespace