ConfigurationValidatorBase.Validate(Object) 方法

定义

确定对象的值是否有效。Determines whether the value of an object is valid.

public:
 abstract void Validate(System::Object ^ value);
public abstract void Validate (object value);
abstract member Validate : obj -> unit
Public MustOverride Sub Validate (value As Object)

参数

value
Object

对象值。The object value.

注解

派生自类的对象 ConfigurationValidatorBase 包含验证对象所需的条件。An object derived from the ConfigurationValidatorBase class contains the criteria necessary to validate an object. 当派生类实例化时,将建立条件。The criteria are established when the derived class is instantiated. 要验证的对象作为方法的参数传递 ValidateThe object to validate is passed as a parameter of the Validate method.

适用于