Share via


DefaultDistributionDesigner.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.

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 for handling 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

See Also

Reference

DefaultDistributionDesigner Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputChangingEventArgs