Support.SendKeys(String, Boolean) 메서드

정의

주의

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

키보드에 입력된 것처럼 하나 이상의 키 입력을 활성 창에 보냅니다.

public static void SendKeys(string Keys, bool Wait = false);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static void SendKeys(string Keys, bool Wait = false);
static member SendKeys : string * bool -> unit
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member SendKeys : string * bool -> unit
Public Sub SendKeys (Keys As String, Optional Wait As Boolean = false)

매개 변수

Keys
String

키 값을 포함하는 A String 입니다.

Wait
Boolean

true 컨트롤이 프로시저에 반환되기 전에 키 입력을 처리합니다. 그렇지 않으면 false.

특성

설명

이 함수는 업그레이드 도구에서 Visual Basic 6.0 SendKeys 메서드를 에뮬레이트하는 데 사용됩니다. Visual Basic 대신 My.Computer.Keyboard.SendKeys 메서드를 사용합니다.

메모

Microsoft.VisualBasic.Compatibility.VB6 네임스페이스의 함수 및 개체는 Visual Basic 6.0에서 Visual Basic 2008로 업그레이드하는 도구에서 사용할 수 있도록 제공됩니다. 대부분의 경우 이러한 함수와 개체는 .NET Framework의 다른 네임스페이스에서 찾을 수 있는 기능을 복제합니다. Visual Basic 6.0 코드 모델이 .NET Framework 구현과 크게 다른 경우에만 필요합니다.

적용 대상