IContentTypeRegistryService Interface

Definition

The service that maintains the collection of content types.

public interface class IContentTypeRegistryService
public interface class IContentTypeRegistryService
__interface IContentTypeRegistryService
public interface IContentTypeRegistryService
type IContentTypeRegistryService = interface
Public Interface IContentTypeRegistryService
Derived

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IContentTypeRegistryService))]

Properties

ContentTypes

Gets an enumeration of all content types, including the "unknown" content type.

UnknownContentType

Gets the "unknown" content type.

Methods

AddContentType(String, IEnumerable<String>)

Creates and adds a new content type.

GetContentType(String)

Gets the IContentType object with the specified typeName.

RemoveContentType(String)

Removes a content type.

Applies to