OneToManyRelationshipMetadata.ReferencedAttribute Property


Applies To: Dynamics CRM 2015

Get or set the name of primary attribute for the referenced entity.

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


public string ReferencedAttribute { get; set; }
property String^ ReferencedAttribute {
    String^ get();
    void set(String^ value);
member ReferencedAttribute : string with get, set
Public Property ReferencedAttribute As String

Property Value

Type: System.String

Type: String
The name of primary attribute for the referenced entity..


For example, if Account is the referenced entity the referenced attribute would be accountid.

See Also

OneToManyRelationshipMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright