UrlAttribute Class

UrlAttribute Class

 

Represents a MVC Url attribute.

Namespace:   Microsoft.Web.Mvc
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)


[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
public sealed class UrlAttribute : DataTypeAttribute, IClientValidatable

NameDescription
System_CAPS_pubmethodUrlAttribute()

Initializes a new instance of the UrlAttribute class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodFormatErrorMessage(String)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodGetClientValidationRules(ModelMetadata, ControllerContext)

Retrieves a client validation rules.

System_CAPS_pubmethodGetDataTypeName()

(Inherited from DataTypeAttribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidationResult(Object, ValidationContext)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodIsValid(Object)

Determines whether the specified value of the URL is valid.(Overrides DataTypeAttribute.IsValid(Object).)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(Object, String)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodValidate(Object, ValidationContext)

(Inherited from ValidationAttribute.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft