Condividi tramite


IClassificationFormatMapService Interface

Looks up a classification format map for a given view.

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

Syntax

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

Methods

  Name Description
Public method GetClassificationFormatMap(String) Gets a IClassificationFormatMap for the specified appearance category.
Public method GetClassificationFormatMap(ITextView) Gets an IClassificationFormatMap appropriate for the specified text view. This object is likely to be shared among multiple text views.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import] IClassificationFormatMapService formatMap = null;

See Also

Reference

Microsoft.VisualStudio.Text.Classification Namespace