Bagikan melalui


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

'Declaration
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

See Also

Reference

IAdornmentLayer Interface

Microsoft.VisualStudio.Text.Editor Namespace