Mouse.Click Method (ModifierKeys)
Clicks the default mouse button while holding the specified modifier keys.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Click ( _
modifierKeys As ModifierKeys _
)
public static void Click(
ModifierKeys modifierKeys
)
public:
static void Click(
ModifierKeys modifierKeys
)
static member Click :
modifierKeys:ModifierKeys -> unit
public static function Click(
modifierKeys : ModifierKeys
)
Parameters
modifierKeys
Type: ModifierKeysThe ModifierKeys to be included with the 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.