CancelEventArgs CancelEventArgs CancelEventArgs CancelEventArgs Constructors

Definition

Overloads

CancelEventArgs() CancelEventArgs() CancelEventArgs()

Initializes a new instance of the CancelEventArgs class with the Cancel property set to false.

CancelEventArgs(Boolean) CancelEventArgs(Boolean) CancelEventArgs(Boolean) CancelEventArgs(Boolean)

Initializes a new instance of the CancelEventArgs class with the Cancel property set to the given value.

CancelEventArgs() CancelEventArgs() CancelEventArgs()

Initializes a new instance of the CancelEventArgs class with the Cancel property set to false.

public:
 CancelEventArgs();
public CancelEventArgs ();
Public Sub New ()
See also

CancelEventArgs(Boolean) CancelEventArgs(Boolean) CancelEventArgs(Boolean) CancelEventArgs(Boolean)

Initializes a new instance of the CancelEventArgs class with the Cancel property set to the given value.

public:
 CancelEventArgs(bool cancel);
public CancelEventArgs (bool cancel);
new System.ComponentModel.CancelEventArgs : bool -> System.ComponentModel.CancelEventArgs
Public Sub New (cancel As Boolean)

Parameters

cancel
Boolean Boolean Boolean Boolean

true to cancel the event; otherwise, false.

See also

Applies to