Dart.PowerTCP.EmailValidation Namespace > Validator Class : Pattern Property |
Gets or sets the Regular Expression pattern used when an email address's syntax is validated.
[Visual Basic]
<CategoryAttribute("Configurations")>
<DescriptionAttribute("Gets or sets the Regular Expression pattern used when an email address's syntax is validated.")>
<DefaultValueAttribute()>
Public Property Pattern As String
[C#]
[CategoryAttribute("Configurations")]
[DescriptionAttribute("Gets or sets the Regular Expression pattern used when an email address's syntax is validated.")]
[DefaultValueAttribute()]
public string Pattern {get; set;}
[C++]
[CategoryAttribute("Configurations")]
[DescriptionAttribute("Gets or sets the Regular Expression pattern used when an email address's syntax is validated.")]
[DefaultValueAttribute()]
public: __property string* get_Pattern();
public: __property void set_Pattern(
string* value
);
[C++/CLI]
[CategoryAttribute("Configurations")]
[DescriptionAttribute("Gets or sets the Regular Expression pattern used when an email address's syntax is validated.")]
[DefaultValueAttribute()]
public:
property String^ Pattern {
String^ get();
void set (String^ value);
}
The default value is "^[\w-\.]+@([\da-zA-Z-]+\.)+[\da-zA-Z-]{2,4}$".
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Validator Class | Validator Members
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.