次の方法で共有


IEditorOperations.ScrollLineCenter Method

Scrolls the line the caret is on, so that it is centered in the view.

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

Syntax

'宣言
Sub ScrollLineCenter
void ScrollLineCenter()
void ScrollLineCenter()
abstract ScrollLineCenter : unit -> unit 
function ScrollLineCenter()

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace