Partilhar via


IContentTypeRegistryService2 Interface

Definition

public interface class IContentTypeRegistryService2 : Microsoft::VisualStudio::Utilities::IContentTypeRegistryService
public interface IContentTypeRegistryService2 : Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
type IContentTypeRegistryService2 = interface
    interface IContentTypeRegistryService
Public Interface IContentTypeRegistryService2
Implements IContentTypeRegistryService
Implements

Properties

ContentTypes

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

(Inherited from IContentTypeRegistryService)
UnknownContentType

Gets the "unknown" content type.

(Inherited from IContentTypeRegistryService)

Methods

AddContentType(String, IEnumerable<String>)

Creates and adds a new content type.

(Inherited from IContentTypeRegistryService)
GetContentType(String)

Gets the IContentType object with the specified typeName.

(Inherited from IContentTypeRegistryService)
GetContentTypeForMimeType(String)

Get the content type associated with a mime type.

GetMimeType(IContentType)

Get the mime type associated with a content type.

RemoveContentType(String)

Removes a content type.

(Inherited from IContentTypeRegistryService)

Applies to