Share via


FieldOrderCollection constructor (IEnumerable<String>, IEnumerable<Boolean>)

Creates and initializes a collection of FieldOrder objects. This constructor initializes the collection with column names from the specified array and with information about the ordering of the fields in each column.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    colNameArray As IEnumerable(Of String), _
    isDescendingArray As IEnumerable(Of Boolean) _
)
'Usage
Dim colNameArray As IEnumerable(Of String)
Dim isDescendingArray As IEnumerable(Of Boolean)

Dim instance As New FieldOrderCollection(colNameArray, _
    isDescendingArray)
public FieldOrderCollection(
    IEnumerable<string> colNameArray,
    IEnumerable<bool> isDescendingArray
)

Parameters

  • isDescendingArray
    Type: System.Collections.Generic.IEnumerable<Boolean>

    Indicates whether the fields of the column are in descending order. A value of true indicates that the column fields are in descending order; otherwise, a value of false indicates that they are not.

See also

Reference

FieldOrderCollection class

FieldOrderCollection members

FieldOrderCollection overload

Microsoft.SharePoint.JSGrid namespace