PropertyNames Property
Collapse the table of content
Expand the table of content

MetadataPropertiesExpression.PropertyNames Property

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)

[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification="The requirement is to allow callers to change this collection property\'s value")] 
public DataCollection<string> PropertyNames { get; }

Property Value

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

Use the DataCollection methods to manipulate the property names.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.

Community Additions

© 2015 Microsoft