Condividi tramite


IViewScroller.EnsureSpanVisible Method (SnapshotSpan)

Ensures that all the text in the specified span is entirely visible in the view.

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

Syntax

'Dichiarazione
Sub EnsureSpanVisible ( _
    span As SnapshotSpan _
)
void EnsureSpanVisible(
    SnapshotSpan span
)
void EnsureSpanVisible(
    SnapshotSpan span
)
abstract EnsureSpanVisible : 
        span:SnapshotSpan -> unit 
function EnsureSpanVisible(
    span : SnapshotSpan
)

Parameters

Remarks

This is equivalent to EnsureSpanVisible(span, EnsureSpanVisibleOptions.None).

.NET Framework Security

See Also

Reference

IViewScroller Interface

EnsureSpanVisible Overload

Microsoft.VisualStudio.Text.Editor Namespace