Compartir a través de


AttributeMetadata.AttributeType Property

 

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

Gets the type for the attribute.

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

Syntax

[DataMemberAttribute]
public Nullable<AttributeTypeCode> AttributeType { get; internal set; }
<DataMemberAttribute>
Public Property AttributeType As Nullable(Of AttributeTypeCode)
    Get
    Friend Set
End Property

Property Value

Type: System.Nullable<AttributeTypeCode>

Type: Nullable<AttributeTypeCode>
The attribute type.

Remarks

This property is read-only it is set based on the type of Attribute passed to the CreateAttributeRequest message.

Note

For ImageAttributeMetadata this value will return Virtual. Use AttributeTypeName to get a value that is correct for all types.

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright