Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Keyboard.PressModifierKeysImplementation Method

Presses the specified modifier keys without releasing them.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

protected virtual void PressModifierKeysImplementation(
	UITestControl control,
	ModifierKeys keys
)

Parameters

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

A UITestControl.

keys
Type: ModifierKeys

The sum of one or more values of the ModifierKeys enumeration.

Show:
© 2015 Microsoft