SPDocumentConverter class

Represents a document converter, or document transformer, that is installed in a SharePoint Web application.

Inheritance hierarchy


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


<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
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPDocumentConverter : SPPersistedObject


Use the DocumentConverters property of the SPWebApplication class to return the collection of document converters within a Web application.

Use an indexer to return a single document converter from the collection. For example, if the collection is assigned to a variable named myDocumentConverters, use myDocumentConverters[index] in C#, or myDocumentConverters(index) in Visual Basic, where index is either the name or the GUID identifying the document converter.

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.

See also


SPDocumentConverter members

Microsoft.SharePoint.Administration namespace