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
- 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.