IDesigner.OnInputChangeValidation, méthode
Appelée lorsqu'une valeur dans le descripteur d'entrée spécifié va changer.
Espace de noms : Microsoft.Data.Schema.Tools.DataGenerator
Assembly : Microsoft.Data.Schema.Tools (dans Microsoft.Data.Schema.Tools.dll)
Syntaxe
'Déclaration
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
)
Paramètres
- sender
Type : System.Object
Objet qui représente la source de l'événement.
- eventArgs
Type : Microsoft.Data.Schema.Tools.DataGenerator.InputChangingEventArgs
InputChangingEventArgs qui contient les données d'événement.
Notes
InputChangingEventArgs contient le InputDescriptor à modifier, la nouvelle valeur et un tableau de tout le InputDescriptors.
Cette méthode effectue une validation au moment du design. Substituez cette méthode pour exécuter la validation au moment du design personnalisée dans votre distribution personnalisée. ValidateInputs exécute la validation à l'exécution.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.