Export (0) Print
Expand All

SPDocumentConverterCollection Class

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[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.
Show:
© 2014 Microsoft