Share via


ParserHelpers.IsNewLine Method (String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified value is a newline.

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

Syntax

'Declaration
Public Shared Function IsNewLine ( _
    value As String _
) As Boolean
'Usage
Dim value As String 
Dim returnValue As Boolean 

returnValue = ParserHelpers.IsNewLine(value)
public static bool IsNewLine(
    string value
)
public:
static bool IsNewLine(
    String^ value
)
static member IsNewLine : 
        value:string -> bool
public static function IsNewLine(
    value : String
) : boolean

Parameters

Return Value

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

See Also

Reference

ParserHelpers Class

IsNewLine Overload

System.Web.Razor.Parser Namespace