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
spFields
Type: Microsoft.SharePoint.SPFieldCollectionA SPFieldCollection that holds the fields that are sorted.
culture
Type: System.Globalization.CultureInfoA CultureInfo that identifies the sorting rules that are used.
Return Value
Type: System.Collections.ArrayList
A sorted ArrayList of the fields.
See Also
Reference
UnsecuredLayoutsPageBase Class