Partager 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

'Déclaration
ReadOnly Property VisualSpan As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> VisualSpan { get; }
property Nullable<SnapshotSpan> VisualSpan {
    Nullable<SnapshotSpan> get ();
}
abstract VisualSpan : Nullable<SnapshotSpan>
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