Checks if the string passed to the method is an e-mail address.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: 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: BooleanTrue if the string is an e-mail address, false otherwise.