Metoda Keyboard.SendKeys — (UITestControl, String)
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestawy: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (w Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Shared Sub SendKeys ( _
control As UITestControl, _
text As String _
)
public static void SendKeys(
UITestControl control,
string text
)
public:
static void SendKeys(
UITestControl^ control,
String^ text
)
static member SendKeys :
control:UITestControl *
text:string -> unit
public static function SendKeys(
control : UITestControl,
text : String
)
Parametry
- text
Typ: String
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.