Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Scrolls this element into view.
If the technology manager does not support scrolling multiple containers, then the outPointX and outPointY should be returned as -1, -1.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub EnsureVisibleByScrolling ( _
pointX As Integer, _
pointY As Integer, _
ByRef outpointX As Integer, _
ByRef outpointY As Integer _
)
public override void EnsureVisibleByScrolling(
int pointX,
int pointY,
ref int outpointX,
ref int outpointY
)
public:
virtual void EnsureVisibleByScrolling(
int pointX,
int pointY,
int% outpointX,
int% outpointY
) override
abstract EnsureVisibleByScrolling :
pointX:int *
pointY:int *
outpointX:int byref *
outpointY:int byref -> unit
override EnsureVisibleByScrolling :
pointX:int *
pointY:int *
outpointX:int byref *
outpointY:int byref -> unit
public override function EnsureVisibleByScrolling(
pointX : int,
pointY : int,
outpointX : int,
outpointY : int
)
Parameters
pointX
Type: Int32The relative x coordinate of point to make visible.
pointY
Type: Int32The relative y coordinate of point to make visible.
- outpointX
Type: Int32%
- outpointY
Type: Int32%
Implements
IUITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)
.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
UITechnologyElementProxy Class