'Declaration
Event NameChanging As PropertyChangingEventHandler
'Usage
Dim instance As INameSupport2 Dim handler As PropertyChangingEventHandler AddHandler instance.NameChanging, handler
event PropertyChangingEventHandler NameChanging
Event Data
The event handler receives an argument of type PropertyChangingEventArgs containing data related to this event. The following PropertyChangingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel changing the property value. |
NewValue | Gets the new value to be set by the property. |
PropertyName | The name of the property whose value is changing. |
See Also