EntityReference.Name Property

 

Applies To: Dynamics CRM 2015

Gets or sets the value of the primary attribute of the entity.

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

Syntax

[DataMemberAttribute]
public string Name { get; set; }
public:
[DataMemberAttribute]
property String^ Name {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute>]
member Name : string with get, set
<DataMemberAttribute>
Public Property Name As String

Property Value

Type: System.String

Type: String
The value of the primary attribute of the entity.

Remarks

This property can contain a value or null. This property is not automatically populated unless the EntityReference object has been retrieved from the server. This value is used to provide text to represent the related record in any user interface elements, such as the value in a view column.

See Also

EntityReference Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright