Jaa


AttributeMetadata.IsPrimaryName Property

 

Applies To: Dynamics CRM 2015

Gets or sets whether the attribute represents the primary attribute for the entity.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public Nullable<bool> IsPrimaryName { get; internal set; }
public:
[DataMemberAttribute]
property Nullable<bool> IsPrimaryName {
    Nullable<bool> get();
    internal: void set(Nullable<bool> value);
}
[<DataMemberAttribute>]
member IsPrimaryName : Nullable<bool> with get, internal set
<DataMemberAttribute>
Public Property IsPrimaryName As Nullable(Of Boolean)
    Get
    Friend Set
End Property

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the attribute is primary attribute for the entity; otherwise, false.

Remarks

If the value of this property is true, the value of the attribute is what will be displayed in lookup fields in the application.

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright