CancelEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CancelEventArgs class.
Overloads
CancelEventArgs() |
Initializes a new instance of the CancelEventArgs class with the Cancel property set to |
CancelEventArgs(Boolean) |
Initializes a new instance of the CancelEventArgs class with the Cancel property set to the given value. |
CancelEventArgs()
- Source:
- CancelEventArgs.cs
- Source:
- CancelEventArgs.cs
- Source:
- CancelEventArgs.cs
Initializes a new instance of the CancelEventArgs class with the Cancel property set to false
.
public:
CancelEventArgs();
public CancelEventArgs ();
Public Sub New ()
See also
Applies to
CancelEventArgs(Boolean)
- Source:
- CancelEventArgs.cs
- Source:
- CancelEventArgs.cs
- Source:
- CancelEventArgs.cs
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
true
to cancel the event; otherwise, false
.