ParameterCollection.OnValidate(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs additional custom processes when validating a value.
protected:
override void OnValidate(System::Object ^ o);
protected override void OnValidate (object o);
override this.OnValidate : obj -> unit
Protected Overrides Sub OnValidate (o As Object)
Parameters
- o
- Object
The object
being validated.
Exceptions
The object is not an instance of the Parameter class or one of its derived classes.
The object is null
.
Remarks
The OnValidate method determines whether the object specified in the o
parameter is a Parameter instance. If not, it throws an ArgumentException exception.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.