Share via


FieldOrderCollection constructor (IEnumerable<String>)

Creates a collection of FieldOrder objects, with column names that are initialized from a collection of strings.

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

Syntax

'Declaration
Public Sub New ( _
    col As IEnumerable(Of String) _
)
'Usage
Dim col As IEnumerable(Of String)

Dim instance As New FieldOrderCollection(col)
public FieldOrderCollection(
    IEnumerable<string> col
)

Parameters

Remarks

The size of the FieldOrderCollection is determined by the number of strings that are contained in the input parameter.

When this constructor is used, all sort operations are assumed to be ascending.

See also

Reference

FieldOrderCollection class

FieldOrderCollection members

FieldOrderCollection overload

Microsoft.SharePoint.JSGrid namespace