SPDocumentConverterCollection Class
Represents a collection of SPDocumentConverter objects that are available to a Web application.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPDocumentConverter>
Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPDocumentConverter>
Microsoft.SharePoint.Administration.SPDocumentConverterCollection
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDocumentConverterCollection _
Inherits SPPersistedChildCollection(Of SPDocumentConverter)
'Usage
Dim instance As SPDocumentConverterCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDocumentConverterCollection : SPPersistedChildCollection<SPDocumentConverter>
Remarks
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.