LookupAttributeMetadata.Targets Property
Applies To: Dynamics CRM 2015
Gets or sets the target entity types for the lookup.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataMemberAttribute]
public string[] Targets { get; set; }
public:
[DataMemberAttribute]
property array<String^>^ Targets {
array<String^>^ get();
void set(array<String^>^ value);
}
[<DataMemberAttribute>]
member Targets : string[] with get, set
<DataMemberAttribute>
Public Property Targets As String()
Property Value
Type: System.String[]
Type: String[]
The array of target entity types for the lookup.
Remarks
The value contains an array of entity logical names. If this value is not null, the lookup can only reference the entities contained in the array. If the value is null, use of the of the lookup attribute is not supported.
See Also
LookupAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright