IDesigner.OnInputChangeValidation Method
When implemented in a class, this method is called when a value in the specified input descriptor is about to change.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)
Syntax
'Declaration
Sub OnInputChangeValidation ( _
sender As Object, _
eventArgs As InputChangingEventArgs _
)
'Usage
Dim instance As IDesigner
Dim sender As Object
Dim eventArgs As InputChangingEventArgs
instance.OnInputChangeValidation(sender, eventArgs)
void OnInputChangeValidation (
Object sender,
InputChangingEventArgs eventArgs
)
void OnInputChangeValidation (
Object^ sender,
InputChangingEventArgs^ eventArgs
)
void OnInputChangeValidation (
Object sender,
InputChangingEventArgs eventArgs
)
function OnInputChangeValidation (
sender : Object,
eventArgs : InputChangingEventArgs
)
Parameters
- sender
The source of the event.
- eventArgs
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.
See Also
Reference
IDesigner Interface
IDesigner Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
DefaultDistributionDesigner Class
DefaultGeneratorDesigner Class
IGeneratorDesigner
Distribution Class
Generator Class