AttributeMetadata.AttributeOf Property

 

Updated: November 29, 2016

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

Gets the name of the attribute that this attribute extends.

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

<DataMemberAttribute>
Public Property AttributeOf As String
	Get
	Friend Set
End Property

Property Value

Type: System.String

Type: String
The attribute name.

This property is read-only. This property will be set if the metadata attribute describes an attribute of another attribute. If this property contains a value, the attribute is for internal use only and won’t appear in the customization user interface (UI) in the web application.

If you retrieve the metadata for the lead entity, there are three attributes that extend the accountid attribute. They are accountidname, accountiddsc and accountidyominame. For each of these three attributes, the value of the AttributeOf property is "accountid".

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: