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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
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