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


In This Topic
    Cancel Property (BeforeSendKeysEventArgs)
    In This Topic
    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
    public bool Cancel {get; set;}
    Remarks
    To cancel the Keys, set the Cancel property to true.
    Example
    BeforeSendKeysEventArgs args;
    args.Cancel = true;
    See Also