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.
Pause the mouse at the specified point for a specified duration.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Hover ( _
screenCoordinate As Point, _
millisecondsDuration As Integer _
)
public static void Hover(
Point screenCoordinate,
int millisecondsDuration
)
public:
static void Hover(
Point screenCoordinate,
int millisecondsDuration
)
static member Hover :
screenCoordinate:Point *
millisecondsDuration:int -> unit
public static function Hover(
screenCoordinate : Point,
millisecondsDuration : int
)
Parameters
- screenCoordinate
Type: System.Drawing.Point
Point on the screen to hover the mouse.
- millisecondsDuration
Type: System.Int32
Duration of the mouse hover.
.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.