IContentTypeRegistryService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
RemoveContentType(String) |
Removes a content type. |