AttributeMetadata.AttributeType Property

 

Gets the type for the attribute.

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

<DataMemberAttribute>
Public Property AttributeType As Nullable(Of AttributeTypeCode)
	Get
	Friend Set
End Property

Property Value

Type: System.Nullable(Of 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.

System_CAPS_noteNote

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

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: