Zdieľať cez


AttributeMetadata.AttributeOf Property

 

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)

Syntax

[DataMemberAttribute]
public string AttributeOf { get; internal set; }
<DataMemberAttribute>
Public Property AttributeOf As String
    Get
    Friend Set
End Property

Property Value

Type: System.String

Type: String
The attribute name.

Remarks

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".

See Also

AttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright