Share via


MetadataPropertiesExpression.PropertyNames Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets a collection of strings representing the metadata properties to retrieve.

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

Syntax

[DataMemberAttribute]
public DataCollection<string> PropertyNames { get; internal set; }
<DataMemberAttribute>
Public Property PropertyNames As DataCollection(Of String)
    Get
    Friend Set
End Property

Property Value

Type: Microsoft.Xrm.Sdk.DataCollection<String>

Type: DataCollection<T><String>
The collection of strings representing the metadata properties to retrieve.

Remarks

Use the DataCollection<T> methods to manipulate the property names.

See Also

MetadataPropertiesExpression Class
Microsoft.Xrm.Sdk.Metadata.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright