Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the keyboard instance.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Property Instance As Keyboard
public static Keyboard Instance { get; set; }
public:
static property Keyboard^ Instance {
Keyboard^ get ();
void set (Keyboard^ value);
}
static member Instance : Keyboard with get, set
static function get Instance () : Keyboard
static function set Instance (value : Keyboard)
Property Value
Type: Microsoft.VisualStudio.TestTools.UITesting.Keyboard
The keyboard instance.
Exceptions
Exception | Condition |
---|---|
[ArgumentNullException] | An attempt has been made to set Instance to nulla null reference (Nothing in Visual Basic). |
.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.