Share via


ParserHelpers.IsEmailPart Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified character value is valid for use in email address.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Shared Function IsEmailPart ( _
    character As Char _
) As Boolean
'Usage
Dim character As Char 
Dim returnValue As Boolean 

returnValue = ParserHelpers.IsEmailPart(character)
public static bool IsEmailPart(
    char character
)
public:
static bool IsEmailPart(
    wchar_t character
)
static member IsEmailPart : 
        character:char -> bool
public static function IsEmailPart(
    character : char
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified character value is valid for use in email address; otherwise, false.

See Also

Reference

ParserHelpers Class

System.Web.Razor.Parser Namespace