AttributeMetadata.AttributeType AttributeMetadata.AttributeType AttributeMetadata.AttributeType AttributeMetadata.AttributeType Property

Definition

Gets the type for the attribute.

public:
 property Nullable<Microsoft::Xrm::Sdk::Metadata::AttributeTypeCode> AttributeType { Nullable<Microsoft::Xrm::Sdk::Metadata::AttributeTypeCode> get(); };
[System.Runtime.Serialization.DataMember]
public Nullable<Microsoft.Xrm.Sdk.Metadata.AttributeTypeCode> AttributeType { get; }
member this.AttributeType : Nullable<Microsoft.Xrm.Sdk.Metadata.AttributeTypeCode>
Public ReadOnly Property AttributeType As Nullable(Of AttributeTypeCode)

Property Value

Remarks

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.

Applies to