SPDocumentConverter class

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

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

'Declaration
<GuidAttribute("26EED503-127D-496b-9712-0BE99B799ED6")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPDocumentConverter _
    Inherits SPPersistedObject
'Usage
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

Remarks

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

Reference

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace