Gets or sets the Cancel key.
Syntax
Visual Basic (Declaration) | |
---|
Public Property CancelKey As Keys |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ScreenCaptureOptions
Dim value As Keys
instance.CancelKey = value
value = instance.CancelKey
|
C# | |
---|
public Keys CancelKey {get; set;} |
Managed Extensions for C++ | |
---|
public: __property Keys get_CancelKey();
public: __property void set_CancelKey(
Keys value
); |
Return Value
Key code for the key to cancel the capture operation. Default is ESC. You cannot
set this to the 'ALT' key. If you do, it will be ignored internally and set to 'ESC'.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also