IAdornmentLayer.Elements Property
Gets a collection of the adornments and their associated data in the layer.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
ReadOnly Property Elements As ReadOnlyCollection(Of IAdornmentLayerElement)
ReadOnlyCollection<IAdornmentLayerElement> Elements { get; }
property ReadOnlyCollection<IAdornmentLayerElement^>^ Elements {
ReadOnlyCollection<IAdornmentLayerElement^>^ get ();
}
abstract Elements : ReadOnlyCollection<IAdornmentLayerElement>
function get Elements () : ReadOnlyCollection<IAdornmentLayerElement>
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<IAdornmentLayerElement>
The adornments and their data.
.NET Framework Security
- 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.