Share via


MetadataAttribute.IsName Property

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

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

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False)> _
Public Property IsName As Boolean
    Get
    Set
'Usage
Dim instance As MetadataAttribute
Dim value As Boolean

value = instance.IsName

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

Property Value

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