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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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