UnsecuredLayoutsPageBase.SortFields Method

Returns a sorted array of the fields in the specified SPFieldCollection by using the standard sorting rules of the specified culture.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function SortFields ( _
    spFields As SPFieldCollection, _
    culture As CultureInfo _
) As ArrayList
'Usage
Dim spFields As SPFieldCollection
Dim culture As CultureInfo
Dim returnValue As ArrayList

returnValue = UnsecuredLayoutsPageBase.SortFields(spFields, _
    culture)
public static ArrayList SortFields(
    SPFieldCollection spFields,
    CultureInfo culture
)

Parameters

Return Value

Type: System.Collections.ArrayList
A sorted ArrayList of the fields.

See Also

Reference

UnsecuredLayoutsPageBase Class

UnsecuredLayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace