CSharpCodeParser.IsSpacingToken Method

Indicates whether the lines and comments is spacing token.

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

'Declaration
Protected Shared Function IsSpacingToken ( _
	includeNewLines As Boolean, _
	includeComments As Boolean _
) As Func(Of CSharpSymbol, Boolean)
'Usage
Dim includeNewLines As Boolean 
Dim includeComments As Boolean 
Dim returnValue As Func(Of CSharpSymbol, Boolean)

returnValue = CSharpCodeParser.IsSpacingToken(includeNewLines, _
	includeComments)

Parameters

includeNewLines
Type: System.Boolean
true to include new lines; otherwise, false.
includeComments
Type: System.Boolean
true to include comments; otherwise, false.

Return Value

Type: System.Func(Of CSharpSymbol, Boolean)
The function that indicates the spacing token.
Show: