Gets a named IAdornmentLayer.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.