This documentation is archived and is not being maintained.

Keyboard.SendKeysImplementation Method

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

protected virtual void SendKeysImplementation(
	UITestControl control,
	string text,
	ModifierKeys modifierKeys,
	bool isEncoded,
	bool isUnicode
)

Parameters

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

A UITestControl.

text
Type: String

The text for which to generate keystrokes.

modifierKeys
Type: ModifierKeys

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

isEncoded
Type: Boolean

true if the text is encoded; otherwise, false.

isUnicode
Type: Boolean

true if the text is unicode text; otherwise, false.

Show: