Partilhar 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