Share via


IDesigner.OnInputChangeValidation Method

Called when a value in the specified input descriptor is about to change.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Sub OnInputChangeValidation ( _
    sender As Object, _
    eventArgs As InputChangingEventArgs _
)
void OnInputChangeValidation(
    Object sender,
    InputChangingEventArgs eventArgs
)
void OnInputChangeValidation(
    Object^ sender, 
    InputChangingEventArgs^ eventArgs
)
abstract OnInputChangeValidation : 
        sender:Object * 
        eventArgs:InputChangingEventArgs -> unit 
function OnInputChangeValidation(
    sender : Object, 
    eventArgs : InputChangingEventArgs
)

Parameters

  • sender
    Type: System.Object
    The object that is the source of the event.

Remarks

InputChangingEventArgs contains the InputDescriptor to change, the new value, and an array of all the InputDescriptors.

This method performs design-time validation. Override this method to perform custom design-time validation in your custom distribution. ValidateInputs performs run-time validation.

.NET Framework Security

See Also

Reference

IDesigner Interface

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputChangingEventArgs

InputDescriptor

ValidateInputs