EmailAddressAttribute Class

 

Represents an attribute value of the email address.

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


[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)>]
type EmailAddressAttribute = 
    class
        inherit DataTypeAttribute
        interface IClientValidatable
    end

NameDescription
System_CAPS_pubmethodEmailAddressAttribute()

Initializes a new instance of the EmailAddressAttribute class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodFormatErrorMessage(String)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodGetClientValidationRules(ModelMetadata, ControllerContext)

Retrieves a list of 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 value of the email address 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: