Checks if the string passed to the method is an e-mail address.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static bool IsEmail(
	string toCheck
)
Visual Basic
Public Shared Function IsEmail ( 
	toCheck As String
) As Boolean
Visual C++
public:
static bool IsEmail(
	String^ toCheck
)
F#
static member IsEmail : 
        toCheck : string -> bool 

Parameters

toCheck
Type: System..::..String
String to parse and check.

Return Value

Type: Boolean
True if the string is an e-mail address, false otherwise.

See Also