Partager via


AttributeMetadata.LogicalName Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the logical name for the attribute.

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

Syntax

[AlternatekeyAttribute]
[DataMemberAttribute]
public string LogicalName { get; set; }
<AlternatekeyAttribute>
<DataMemberAttribute>
Public Property LogicalName As String

Property Value

Type: System.String

Type: String
The logical name for the attribute.

Remarks

This property is read-only. The logical name is created by the system when an attribute is created. The logical name is an all lowercase version of the SchemaName property.

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Options available when you create a custom entity

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright