SPDocumentConverterCollection class

Represents a collection of SPDocumentConverter objects that are available to a Web application.

Inheritance hierarchy


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


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDocumentConverterCollection _
    Inherits SPPersistedChildCollection(Of SPDocumentConverter)
Dim instance As SPDocumentConverterCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDocumentConverterCollection : SPPersistedChildCollection<SPDocumentConverter>


Use the DocumentConverters property of the SPWebApplication class to return the collection of document converters within a Web application. To add a document converter to the collection, use the Add method of the SPPersistedChildCollection<T> class.

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


SPDocumentConverterCollection members

Microsoft.SharePoint.Administration namespace