IWpfTextView.GetAdornmentLayer(String) Method

Definition

Gets a named IAdornmentLayer.

public Microsoft.VisualStudio.Text.Editor.IAdornmentLayer GetAdornmentLayer (string name);
Parameters
name
String

The name of the layer.

Returns

An instance of the layer in this view.

Remarks

Layer names must be defined as AdornmentLayerDefinition component parts.

The layer names "Text", "Caret", and "Selection" are reserved and cannot be requested by using this method.

Applies to