The ValidateUriAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ValidateUriAttribute |
Properties
Name | Description | |
---|---|---|
![]() | IsRequired |
Gets or sets whether empty or null strings will be rejected as invalid. The default
value is true, meaning that an empty or null string will be considered invalid.
|
![]() | Message |
Allows a custom error message to be specified. Use {0} as a placeholder
for the name of the attribute being validated.
(Inherited from ValidationAttribute.) |
![]() | UriType |
Gets or sets the type of URI that is acceptable (e.g. absolute or relative). The default value
is UriKind.Absolute.
|
![]() | ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |