Aracılığıyla paylaş


AttributeMetadata.AttributeOf Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property String^ AttributeOf {
    String^ get();
    internal: void set(String^ value);
}
[<DataMemberAttribute>]
member AttributeOf : string with 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

© 2016 Microsoft. All rights reserved. Copyright