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.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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