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.
- eventArgs
Type: Microsoft.Data.Schema.Tools.DataGenerator.InputChangingEventArgs
The InputChangingEventArgs that contains the event data.
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
- 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.