SendKeys.IsValidKey Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Shared Function IsValidKey ( _
key As Keys _
) As Boolean
'Usage
Dim key As Keys
Dim returnValue As Boolean
returnValue = SendKeys.IsValidKey(key)
public static bool IsValidKey(
Keys key
)
public:
static bool IsValidKey(
Keys key
)
public static function IsValidKey(
key : Keys
) : boolean
static member IsValidKey :
key:Keys -> bool
Parameters
- key
Type: System.Windows.Forms.Keys
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.