ValidationAttribute 类

定义

public ref class ValidationAttribute abstract : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public abstract class ValidationAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type ValidationAttribute = class
    inherit Attribute
Public MustInherit Class ValidationAttribute
Inherits Attribute
继承
ValidationAttribute
属性

构造函数

ValidationAttribute()

方法

Validate(ITypeDescriptorContext, Object)

适用于