共用方式為


IUITechnologyElement.ScrollProgrammatically 方法

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Sub ScrollProgrammatically ( _
    scrollDirection As ScrollDirection, _
    scrollAmount As ScrollAmount _
)
void ScrollProgrammatically(
    ScrollDirection scrollDirection,
    ScrollAmount scrollAmount
)
void ScrollProgrammatically(
    ScrollDirection scrollDirection, 
    ScrollAmount scrollAmount
)
abstract ScrollProgrammatically : 
        scrollDirection:ScrollDirection * 
        scrollAmount:ScrollAmount -> unit 
function ScrollProgrammatically(
    scrollDirection : ScrollDirection, 
    scrollAmount : ScrollAmount
)

參數

.NET Framework 安全性

請參閱

參考

IUITechnologyElement 介面

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間

ScrollDirection

ScrollAmount