CustomValidationAttribute.ValidatorType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取执行自定义验证的类型。
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 构造函数重载的类型。