Freigeben über


IClassificationFormatMapService-Schnittstelle

Sucht eine Formatierungszuordnung für die Klassifizierung einer angegebenen Ansicht.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Interface IClassificationFormatMapService
public interface IClassificationFormatMapService
public interface class IClassificationFormatMapService
type IClassificationFormatMapService =  interface end
public interface IClassificationFormatMapService

Methoden

  Name Beschreibung
Öffentliche Methode GetClassificationFormatMap(String) Ruft eine IClassificationFormatMap für die angegebene Kategorie Darstellung ab.
Öffentliche Methode GetClassificationFormatMap(ITextView) Ruft eine geeignete IClassificationFormatMap für die angegebene Textansicht ab.Dieses Objekt wird wahrscheinlich von mehreren Textansichten gemeinsam verwendet.

Zum Seitenanfang

Hinweise

Dies ist ein MEF-Komponenten-Teil importiert werden, und es sollte wie folgt aussehen:

[Import] IClassificationFormatMapService formatMap = null;

Siehe auch

Referenz

Microsoft.VisualStudio.Text.Classification-Namespace