SPDocumentConverter class
代表文件轉換程式或文件轉換程式會安裝於 SharePoint Web 應用程式中。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPDocumentConverter
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<GuidAttribute("26EED503-127D-496b-9712-0BE99B799ED6")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPDocumentConverter _
Inherits SPPersistedObject
'用途
Dim instance As SPDocumentConverter
[GuidAttribute("26EED503-127D-496b-9712-0BE99B799ED6")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPDocumentConverter : SPPersistedObject
備註
使用SPWebApplication類別之DocumentConverters屬性可傳回 Web 應用程式內的文件轉換程式的集合。
若要從集合中傳回單一文件轉換程式中使用索引器。例如,若集合已指派給變數 myDocumentConverters,使用myDocumentConverters[index]以 C# 或 Visual Basic,其中index是名稱或 GUID 識別文件轉換程式中的myDocumentConverters(index) 。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.