IContentTypeRegistryService Interface
The service that maintains the collection of content types.
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
| Name | Description | |
|---|---|---|
![]() | ContentTypes | Gets an enumeration of all content types, including the "unknown" content type. |
![]() | UnknownContentType | Gets the "unknown" content type. |
| Name | Description | |
|---|---|---|
![]() | AddContentType(String^, IEnumerable<String^>^) | Creates and adds a new content type. |
![]() | GetContentType(String^) | Gets the IContentType object with the specified type name. |
![]() | RemoveContentType(String^) | Removes a content type. |
This is a MEF component part, and should be imported as follows:
[Import] Internal IContentTypeRegistryService registryservice = null;
Show:

