共用方式為


Microsoft.VisualStudio.Text.Adornments Namespace

Provides support for editor adornments.

For more information about adornments, see the "Adornments" section of Inside the Editor. For more information about adding and extending adornments, see the "Extending Adornments" section in Editor Extension Points.

Classes

  Class Description
Public class ErrorTypeDefinition Defines error types.
Public class PredefinedErrorTypeNames Represents the predefined error types.

Interfaces

  Interface Description
Public interface IErrorProviderFactory Gets a error tagger (a SimpleTagger<T> of type ErrorTag) for the given buffer, or creates a new one if there is no error tagger already cached in the owned properties of the buffer.
Public interface ITextMarkerProviderFactory Gets a text marker tagger (a SimpleTagger<T> of type TextMarkerTag for a given buffer, or creates a new one if no text marker tagger is already cached in the owned properties of the buffer.
Public interface IToolTipProvider Creates and displays tooltips.
Public interface IToolTipProviderFactory Gets an existing tooltip adornment provider from the cached list, or creates one if there is not one in the cache.

Enumerations

  Enumeration Description
Public enumeration PopupStyles Represents the styles associated with pop-up windows.