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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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