ColumnSet.AddColumns Method (String[])


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

Adds the specified attribute to the column set.

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


public void AddColumns(
    params string[] columns
Public Sub AddColumns (
    ParamArray columns As String()


  • columns
    Type: System.String[]

    Type: String[]. Specifies an array of Strings containing the names of the attributes.

See Also

ColumnSet Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright