次の方法で共有


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

'宣言
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