DefaultGeneratorDesigner.OnInputValueChanged Method
Occurs when the value of a designer input property changes and has been validated.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Sub OnInputValueChanged ( _
sender As Object, _
eventArgs As InputChangedEventArgs _
)
public virtual void OnInputValueChanged(
Object sender,
InputChangedEventArgs eventArgs
)
public:
virtual void OnInputValueChanged(
Object^ sender,
InputChangedEventArgs^ eventArgs
)
abstract OnInputValueChanged :
sender:Object *
eventArgs:InputChangedEventArgs -> unit
override OnInputValueChanged :
sender:Object *
eventArgs:InputChangedEventArgs -> unit
public function OnInputValueChanged(
sender : Object,
eventArgs : InputChangedEventArgs
)
Parameters
- sender
Type: System.Object
The object that initiates the event.
- eventArgs
Type: Microsoft.Data.Schema.Tools.DataGenerator.InputChangedEventArgs
An InputChangingEventArgs object.
Implements
IDesigner.OnInputValueChanged(Object, InputChangedEventArgs)
Remarks
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The OnInputValueChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique to handle the event in a derived class.
Notes to Inheritors
When overriding OnInputValueChanged in a derived class, make sure that you call the OnInputValueChanged method of the base class so that registered delegates receive the event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DefaultGeneratorDesigner Class
Microsoft.Data.Schema.Tools.DataGenerator Namespace
OnInputValueChanged