Share via


SPDocumentConverterCollection.SortedList method (String, Boolean)

Returns a sorted ArrayList of document converters that are available in the Web application and that support transformation of the specified file.

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

Syntax

'Declaration
Public Function SortedList ( _
    fileName As String, _
    fForUI As Boolean _
) As ArrayList
'Usage
Dim instance As SPDocumentConverterCollection
Dim fileName As String
Dim fForUI As Boolean
Dim returnValue As ArrayList

returnValue = instance.SortedList(fileName, _
    fForUI)
public ArrayList SortedList(
    string fileName,
    bool fForUI
)

Parameters

  • fileName
    Type: System.String

    A string that specifies the name of a file to verify.

  • fForUI
    Type: System.Boolean

    true to specify that the document converters appear in the user interface; otherwise, false.

Return value

Type: System.Collections.ArrayList
A System.Collections.ArrayList object that represents the document converters.

See also

Reference

SPDocumentConverterCollection class

SPDocumentConverterCollection members

SortedList overload

Microsoft.SharePoint.Administration namespace