Allows custom validations to be applied.

C# | Visual Basic |
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true, Inherited = false)] public sealed class ValidateAttribute : ValidationAttribute
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := True, Inherited := False)> _ Public NotInheritable Class ValidateAttribute _ Inherits ValidationAttribute

All Members | Constructors | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | ValidateAttribute(Type) |
Initializes a new instance of the ValidateAttribute class.
|
![]() | ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute.ValidationRule.) |

Object | |||
![]() | Attribute | ||
![]() | ValidationAttribute | ||
![]() | ValidateAttribute |