共用方式為


LookupAttributeMetadata.Targets Property

Definition

Gets or sets the target entity types for the lookup.

public:
 property cli::array <System::String ^> ^ Targets { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.Runtime.Serialization.DataMember]
public string[] Targets { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Targets : string[] with get, set
Public Property Targets As String()

Property Value

String[]

The array of target entity types for the lookup.

Attributes

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.

Applies to