Share via


ParserHelpers.IsWhitespaceOrNewLine 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 a whitespace or newline.

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

Syntax

'Declaration
Public Shared Function IsWhitespaceOrNewLine ( _
    value As Char _
) As Boolean
'Usage
Dim value As Char 
Dim returnValue As Boolean 

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

Parameters

Return Value

Type: System.Boolean
true if the specified character value is a whitespace or newline; otherwise, false.

See Also

Reference

ParserHelpers Class

System.Web.Razor.Parser Namespace