Gemstone Common Library
Show/Hide TOC

# EmailValidationAttributeDefaultErrorMessage Field

Defines the default error message used when pattern fails validation.

## Definition

Namespace: Gemstone.ComponentModel.DataAnnotations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
C#
View Source Request Example

    public const string DefaultErrorMessage = "Invalid e-mail address."

VB
View Source Request Example

    Public Const DefaultErrorMessage As String = "Invalid e-mail address."

C++
View Source Request Example

    public:
    literal String^ DefaultErrorMessage = "Invalid e-mail address."

JavaScript
View Source Request Example

    var Gemstone.ComponentModel.DataAnnotations.EmailValidationAttribute.DefaultErrorMessage

#### Field Value

String

## See Also

#### Reference

EmailValidationAttribute Class
Gemstone.ComponentModel.DataAnnotations Namespace