Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPDocumentConverterCollection Class

Windows SharePoint Services 3

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

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

[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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft