AttributeMetadata.AttributeType Property


Applies To: Dynamics CRM 2015

Gets the type for the attribute.

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


public Nullable<AttributeTypeCode> AttributeType { get; internal set; }
property Nullable<AttributeTypeCode> AttributeType {
    Nullable<AttributeTypeCode> get();
    internal: void set(Nullable<AttributeTypeCode> value);
member AttributeType : Nullable<AttributeTypeCode> with get, internal set
Public Property AttributeType As Nullable(Of AttributeTypeCode)
    Friend Set
End Property

Property Value

Type: System.Nullable<AttributeTypeCode>

Type: Nullable<AttributeTypeCode>
The attribute type.


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


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

© 2016 Microsoft. All rights reserved. Copyright