DefaultValidator 类
定义
提供对象验证。Provides validation of an object. 此类不能被继承。This class cannot be inherited.
public ref class DefaultValidator sealed : System::Configuration::ConfigurationValidatorBase
public sealed class DefaultValidator : System.Configuration.ConfigurationValidatorBase
type DefaultValidator = class
inherit ConfigurationValidatorBase
Public NotInheritable Class DefaultValidator
Inherits ConfigurationValidatorBase
- 继承
构造函数
DefaultValidator() |
初始化 DefaultValidator 类的新实例。Initializes a new instance of the DefaultValidator class. |
方法
CanValidate(Type) |
根据类型确定是否可以验证对象。Determines whether an object can be validated, based on type. |
Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
Validate(Object) |
确定对象的值是否有效。Determines whether the value of an object is valid. |