LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>.IsCommentBody Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a comment body type.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overridable Function IsCommentBody ( _
symbol As TSymbol _
) As Boolean
'Usage
Dim instance As LanguageCharacteristics
Dim symbol As TSymbol
Dim returnValue As Boolean
returnValue = instance.IsCommentBody(symbol)
public virtual bool IsCommentBody(
TSymbol symbol
)
public:
virtual bool IsCommentBody(
TSymbol symbol
)
abstract IsCommentBody :
symbol:'TSymbol -> bool
override IsCommentBody :
symbol:'TSymbol -> bool
public function IsCommentBody(
symbol : TSymbol
) : boolean
Parameters
- symbol
Type: TSymbol
The symbol to check.
Return Value
Type: System.Boolean
true if the symbol is a comment body type; otherwise, false.
See Also
Reference
LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class