Gets and sets a cancel on the session. If set to true, the session ends and the StartSession method returns control.
'Declaration
Public Property Cancel As Boolean
'Usage
Dim instance As ScannedEventArgs
Dim value As Boolean
instance.Cancel = value
value = instance.Cancel
public bool Cancel {get; set;}
public: __property bool get_Cancel();
public: __property void set_Cancel(
bool value
);
public:
property bool Cancel {
bool get();
void set ( bool value);
}
Property Value
A boolean value which is
true to cancel the session. Otherwise,
false is used and the session is not canceled.