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