Del via


ColumnSet.Columns Property

 

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

Gets the collection of Strings containing the names of the attributes to be retrieved from a query.

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

Syntax

[DataMemberAttribute]
public DataCollection<string> Columns { get; }
<DataMemberAttribute>
Public ReadOnly Property Columns As DataCollection(Of String)

Property Value

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

Type: ICollection
The collection of attribute names to return from a query.

Remarks

Use AddColumns to set the collection.

See Also

ColumnSet Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright