Keyboard.PressModifierKeys Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PressModifierKeys(ModifierKeys) | |
PressModifierKeys(UITestControl, ModifierKeys) |
PressModifierKeys(ModifierKeys)
public:
static void PressModifierKeys(System::Windows::Input::ModifierKeys keys);
public static void PressModifierKeys (System.Windows.Input.ModifierKeys keys);
static member PressModifierKeys : System.Windows.Input.ModifierKeys -> unit
Public Shared Sub PressModifierKeys (keys As ModifierKeys)
Parameters
- keys
- ModifierKeys
Applies to
PressModifierKeys(UITestControl, ModifierKeys)
public:
static void PressModifierKeys(Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^ control, System::Windows::Input::ModifierKeys keys);
public static void PressModifierKeys (Microsoft.VisualStudio.TestTools.UITesting.UITestControl control, System.Windows.Input.ModifierKeys keys);
static member PressModifierKeys : Microsoft.VisualStudio.TestTools.UITesting.UITestControl * System.Windows.Input.ModifierKeys -> unit
Public Shared Sub PressModifierKeys (control As UITestControl, keys As ModifierKeys)
Parameters
- control
- UITestControl
- keys
- ModifierKeys