AdornmentLayerDefinition Class

 

Provides information for an IAdornmentLayer export.

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

System.Object
  Microsoft.VisualStudio.Text.Editor.AdornmentLayerDefinition

public sealed class AdornmentLayerDefinition

NameDescription
System_CAPS_pubmethodAdornmentLayerDefinition()

Initializes a new instance of AdornmentLayerDefinition.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Because you cannot subclass this type, you can use the [Export] attribute with no type.

For an explanation of adornments, see the "Extending Adornments" section of Editor Extension Points and the "Adornments" section of Inside the Editor.

For an example of how to use this class, see the "Defining an Adornment Layer" section of Walkthrough: Using a Shell Command with an Editor Extension Walkthrough: Using a Shell Command with an Editor Extension.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: