次の方法で共有


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)
    Get
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