Share via


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: ModifierKeys

    The ModifierKeys to be included with the click.

.NET Framework Security

See Also

Reference

Mouse Class

Click Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

ModifierKeys