Cuemon .NET Framework
IsEmailAddress Method

The string to verify has a valid format of an email address.
Determines whether the specified value has a valid format of an email address.
Syntax
'Declaration
 
Public Shared Function IsEmailAddress( _
   ByVal value As String _
) As Boolean
public static bool IsEmailAddress( 
   string value
)

Parameters

value
The string to verify has a valid format of an email address.

Return Value

true if the specified value has a valid format of an email address; otherwise, false.
Remarks
In my search for the most comprehensive and up-to-date regular expression for email address validation, this was the article I choose to implement: http://blog.trojanhunter.com/2012/09/26/the-best-regex-to-validate-an-email-address/.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Condition Class
Condition Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback