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