IContentTypeRegistryService2 Schnittstelle

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
Implementiert

Eigenschaften

ContentTypes

Ruft eine Enumeration aller Inhaltstypen ab, einschließlich des Inhaltstyps "Unknown".

(Geerbt von IContentTypeRegistryService)
UnknownContentType

Ruft den Inhaltstyp "Unknown" ab.

(Geerbt von IContentTypeRegistryService)

Methoden

AddContentType(String, IEnumerable<String>)

Erstellt und fügt einen neuen Inhaltstyp hinzu.

(Geerbt von IContentTypeRegistryService)
GetContentType(String)

Ruft das IContentType-Objekt mit dem angegebenen typeName-Parameter ab.

(Geerbt von IContentTypeRegistryService)
GetContentTypeForMimeType(String)

Den einem MIME-Typ zugeordneten Inhaltstyp erhalten.

GetMimeType(IContentType)

Den MIME-Typ, der einem Inhaltstyp zugeordnet ist, erhalten.

RemoveContentType(String)

Entfernt einen Inhaltstyp.

(Geerbt von IContentTypeRegistryService)

Gilt für