次の方法で共有


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)

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.

See also

Reference

SPDocumentConverterCollection members

Microsoft.SharePoint.Administration namespace