Share via


ColumnSet.Columns Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property DataCollection<String^>^ Columns {
    DataCollection<String^>^ get();
}
[<DataMemberAttribute>]
member Columns : DataCollection<string> with 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

© 2016 Microsoft. All rights reserved. Copyright