Keyboard.SendKeysImplementation 方法 (UITestControl, String, ModifierKeys, Boolean, Boolean)
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
语法
声明
Protected Overridable Sub SendKeysImplementation ( _
control As UITestControl, _
text As String, _
modifierKeys As ModifierKeys, _
isEncoded As Boolean, _
isUnicode As Boolean _
)
protected virtual void SendKeysImplementation(
UITestControl control,
string text,
ModifierKeys modifierKeys,
bool isEncoded,
bool isUnicode
)
protected:
virtual void SendKeysImplementation(
UITestControl^ control,
String^ text,
ModifierKeys modifierKeys,
bool isEncoded,
bool isUnicode
)
abstract SendKeysImplementation :
control:UITestControl *
text:string *
modifierKeys:ModifierKeys *
isEncoded:bool *
isUnicode:bool -> unit
override SendKeysImplementation :
control:UITestControl *
text:string *
modifierKeys:ModifierKeys *
isEncoded:bool *
isUnicode:bool -> unit
protected function SendKeysImplementation(
control : UITestControl,
text : String,
modifierKeys : ModifierKeys,
isEncoded : boolean,
isUnicode : boolean
)
参数
- text
类型:String
- modifierKeys
类型:Microsoft.VisualStudio.TestTools.UITest.Input.ModifierKeys
- isEncoded
类型:Boolean
- isUnicode
类型:Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。