Associates a UriValidationRule with the attribute target.

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

All Members | Constructors | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | ValidateUriAttribute()()() | |
![]() | ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute.ValidationRule.) |

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