AttributeMetadata.IsLogical Property


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

Gets whether the attribute is a logical attribute.

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


[DataMemberAttribute(Order = 70)]
public Nullable<bool> IsLogical { get; internal set; }
<DataMemberAttribute(Order := 70)>
Public Property IsLogical As Nullable(Of Boolean)
    Friend Set
End Property

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the attribute a logical attribute; otherwise, false.


Logical attributes contain values which are stored in different database tables than other attributes in the entity. In most cases this internal implementation is not relevant to working with Microsoft Dynamics CRM. When you use logical attributes as sources for a calculated field the values in the calculated field cannot be sorted.

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Logical attributes

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright