Share via


IAdornmentLayerElement.VisualSpan Property

Gets the snapshot span that is associated with the adornment.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
ReadOnly Property VisualSpan As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> VisualSpan { get; }
property Nullable<SnapshotSpan> VisualSpan {
    Nullable<SnapshotSpan> get ();
}
abstract VisualSpan : Nullable<SnapshotSpan> with get
function get VisualSpan () : Nullable<SnapshotSpan>

Property Value

Type: System.Nullable<SnapshotSpan>
The snapshot span.

.NET Framework Security

See Also

Reference

IAdornmentLayerElement Interface

Microsoft.VisualStudio.Text.Editor Namespace