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
‘선언
Sub EnsureSpanVisible ( _
span As SnapshotSpan _
)
void EnsureSpanVisible(
SnapshotSpan span
)
void EnsureSpanVisible(
SnapshotSpan span
)
abstract EnsureSpanVisible :
span:SnapshotSpan -> unit
function EnsureSpanVisible(
span : SnapshotSpan
)
Parameters
- span
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The span to make visible.
Remarks
This is equivalent to EnsureSpanVisible(span, EnsureSpanVisibleOptions.None).
.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.