CustomValidationAttribute.ValidatorType 属性

定义

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

public:
 property Type ^ ValidatorType { Type ^ get(); };
public Type ValidatorType { get; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public Type ValidatorType { get; }
member this.ValidatorType : Type
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)>]
member this.ValidatorType : Type
Public ReadOnly Property ValidatorType As Type

属性值

执行自定义验证的类型。

属性

注解

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

适用于