Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / BeforeSendKeysEventArgs Class / Cancel Property
Example


Cancel Property (BeforeSendKeysEventArgs)
Gets or sets the Cancel property that indicates whether the user wants to cancel the key action.
Syntax
'Declaration
 
Public Property Cancel As Boolean
 
'Usage
 
Dim instance As BeforeSendKeysEventArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
Remarks
To cancel the Keys, set the Cancel property to true.
Example
BeforeSendKeysEventArgs args;
args.Cancel = true;
See Also