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
)
function OnInputChangeValidation(
sender : Object,
eventArgs : InputChangingEventArgs
)
Parameters
- sender
Type: System.Object
The source of the event.
- eventArgs
Type: Microsoft.VisualStudio.TeamSystem.Data.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.
Permissions
- 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
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace