Share via


CommentSpan Constructor (SourceLocation, String, Boolean, AcceptedCharacters)

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 Sub New ( _
    start As SourceLocation, _
    content As String, _
    hidden As Boolean, _
    acceptedCharacters As AcceptedCharacters _
)
'Usage
Dim start As SourceLocation
Dim content As String
Dim hidden As Boolean
Dim acceptedCharacters As AcceptedCharacters

Dim instance As New CommentSpan(start, content, _
    hidden, acceptedCharacters)
public CommentSpan(
    SourceLocation start,
    string content,
    bool hidden,
    AcceptedCharacters acceptedCharacters
)
public:
CommentSpan(
    SourceLocation start, 
    String^ content, 
    bool hidden, 
    AcceptedCharacters acceptedCharacters
)
public function CommentSpan(
    start : SourceLocation, 
    content : String, 
    hidden : boolean, 
    acceptedCharacters : AcceptedCharacters
)

Parameters

Permissions

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

See Also

Reference

CommentSpan Class

CommentSpan Overload

System.Web.Razor.Parser.SyntaxTree Namespace