CustomValidationAttribute.ValidatorType 属性

定义

获取执行自定义验证的类型。

public:
 property Type ^ ValidatorType { Type ^ get(); };
public Type ValidatorType { get; }
member this.ValidatorType : Type
Public ReadOnly Property ValidatorType As Type

属性值

Type

执行自定义验证的类型。

注解

此属性返回传递到 CustomValidationAttribute 构造函数重载的类型。

适用于