CommentSpan.Create Method (ParserContext, Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Shared Function Create ( _
    context As ParserContext, _
    hidden As Boolean _
) As CommentSpan
'Usage
Dim context As ParserContext
Dim hidden As Boolean
Dim returnValue As CommentSpan

returnValue = CommentSpan.Create(context, _
    hidden)
public static CommentSpan Create(
    ParserContext context,
    bool hidden
)
public:
static CommentSpan^ Create(
    ParserContext^ context, 
    bool hidden
)
public static function Create(
    context : ParserContext, 
    hidden : boolean
) : CommentSpan

Parameters

Return Value

Type: System.Web.Razor.Parser.SyntaxTree.CommentSpan

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

CommentSpan Class

Create Overload

System.Web.Razor.Parser.SyntaxTree Namespace