AttributeMetadata.IsPrimaryName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the attribute represents the primary attribute for the entity.
public:
property Nullable<bool> IsPrimaryName { Nullable<bool> get(); };
[System.Runtime.Serialization.DataMember]
public bool? IsPrimaryName { get; }
[<System.Runtime.Serialization.DataMember>]
member this.IsPrimaryName : Nullable<bool>
Public ReadOnly Property IsPrimaryName As Nullable(Of Boolean)
Property Value
true
if the attribute is primary attribute for the entity; otherwise, false
.
- Attributes
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.