Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AttributeMetadata.AttributeType Property

Definition

Namespace:
Microsoft.Xrm.Sdk.Metadata
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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 Microsoft.Xrm.Sdk.Metadata.AttributeTypeCode? AttributeType { get; }
[<System.Runtime.Serialization.DataMember>]
member this.AttributeType : Nullable<Microsoft.Xrm.Sdk.Metadata.AttributeTypeCode>
Public ReadOnly Property AttributeType As Nullable(Of AttributeTypeCode)

Property Value

The attribute type.

Attributes

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