IContentTypeRegistryService Interface
The service that maintains the collection of content types.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
'Declaración
Public Interface IContentTypeRegistryService
public interface IContentTypeRegistryService
public interface class IContentTypeRegistryService
type IContentTypeRegistryService = interface end
public interface IContentTypeRegistryService
The IContentTypeRegistryService type exposes the following members.
Properties
Name | Description | |
---|---|---|
ContentTypes | Gets an enumeration of all content types, including the "unknown" content type. | |
UnknownContentType | Gets the "unknown" content type. |
Top
Methods
Name | Description | |
---|---|---|
AddContentType | Creates and adds a new content type. | |
GetContentType | Gets the IContentType object with the specified type name. | |
RemoveContentType | Removes a content type. |
Top
Remarks
This is a MEF component part, and should be imported as follows:
[Import]
Internal IContentTypeRegistryService registryservice = null;