SPDocumentConverterCollection.SortedList 方法 (String, Boolean)

返回排序的ArrayList文档转换器可用于 Web 应用程序,并支持指定的文件的转换。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function SortedList ( _
    fileName As String, _
    fForUI As Boolean _
) As ArrayList
用法
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
)

参数

  • fileName
    类型:System.String

    一个字符串,它指定要验证的文件的名称。

  • fForUI
    类型:System.Boolean

    true指定的文档转换器会显示在用户界面中 ;否则为false。

返回值

类型:System.Collections.ArrayList
System.Collections.ArrayList对象,该对象代表了文档的转换器。

另请参阅

引用

SPDocumentConverterCollection 类

SPDocumentConverterCollection 成员

SortedList 重载

Microsoft.SharePoint.Administration 命名空间