Condividi tramite


Metodo Keyboard.SendKeysImplementation

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • text
    Tipo: System.String
    Testo per il quale generare pressioni di tasti.
  • isEncoded
    Tipo: System.Boolean
    true se il testo è codificato. In caso contrario, false.
  • isUnicode
    Tipo: System.Boolean
    true se il testo è unicode. In caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Keyboard Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

UITestControl

ModifierKeys