Cape ParameterOn Parameter Validated Method
Occurs when a parameter is validated.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
protected void OnParameterValidated(
ParameterValidatedEventArgs args
)VB
Protected Sub OnParameterValidated (
args As ParameterValidatedEventArgs
)Parameters
- args ParameterValidatedEventArgs
- A ParameterValidatedEventArgs that contains information about the event.
Remarks
Raising an event invokes the event handler through a delegate.
The OnParameterValidated method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors:
When overriding OnParameterValidated in a derived class, be sure to call the base class's OnParameterValidated method so that registered delegates receive the event.