IUITechnologyElement.ScrollProgrammatically Method
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
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
)
Parameters
- scrollDirection
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollDirection
A member of the ScrollDirection enumeration.
- scrollAmount
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollAmount
A member of the ScrollAmount enumeration.
.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.
See Also
Reference
IUITechnologyElement Interface