Share via


CommentSpan Constructor (SourceLocation, String)

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 _
)
'Usage
Dim start As SourceLocation
Dim content As String

Dim instance As New CommentSpan(start, content)
public CommentSpan(
    SourceLocation start,
    string content
)
public:
CommentSpan(
    SourceLocation start, 
    String^ content
)
public function CommentSpan(
    start : SourceLocation, 
    content : String
)

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