'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")> Event Closing As CancelableEventHandler
'Usage
Dim instance As IView Dim handler As CancelableEventHandler AddHandler instance.Closing, handler
[SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")] event CancelableEventHandler Closing
Event Data
The event handler receives an argument of type CancelableEventArgs containing data related to this event. The following CancelableEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets the Cancel property. Set the Cancel property to true the event. |
See Also