Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Pauses the mouse at the specified location that is relative to the specified control 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 ( _
control As UITestControl, _
relativeCoordinate As Point, _
millisecondDuration As Integer _
)
public static void Hover(
UITestControl control,
Point relativeCoordinate,
int millisecondDuration
)
public:
static void Hover(
UITestControl^ control,
Point relativeCoordinate,
int millisecondDuration
)
static member Hover :
control:UITestControl *
relativeCoordinate:Point *
millisecondDuration:int -> unit
public static function Hover(
control : UITestControl,
relativeCoordinate : Point,
millisecondDuration : int
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlUITestControl to which the mouse is to be hovered.
relativeCoordinate
Type: PointPoint relative to the control to which to move the mouse.
millisecondDuration
Type: Int32Duration 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.