Mouse.Click Method (Point)
Clicks the default mouse button at the specified location.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Click ( _
screenCoordinate As Point _
)
public static void Click(
Point screenCoordinate
)
public:
static void Click(
Point screenCoordinate
)
static member Click :
screenCoordinate:Point -> unit
public static function Click(
screenCoordinate : Point
)
Parameters
screenCoordinate
Type: PointThe Point on the screen to click.
.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.