共用方式為


IEditorOperations.ScrollLineCenter 方法

捲動插入號所在的行,使該行位於檢視的中間。

命名空間:  Microsoft.VisualStudio.Text.Operations
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

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

.NET Framework 安全性

請參閱

參考

IEditorOperations 介面

Microsoft.VisualStudio.Text.Operations 命名空間