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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。