IWpfTextView::GetAdornmentLayer Method (String^)
Visual Studio 2015
Gets a named IAdornmentLayer.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- name
-
Type:
System::String^
The name of the layer.
Return Value
Type: Microsoft.VisualStudio.Text.Editor::IAdornmentLayer^An instance of the layer in this view.
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.
Show: