Share via


MarkupSpan 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 MarkupSpan(start, content, _
    hidden, acceptedCharacters)
public MarkupSpan(
    SourceLocation start,
    string content,
    bool hidden,
    AcceptedCharacters acceptedCharacters
)
public:
MarkupSpan(
    SourceLocation start, 
    String^ content, 
    bool hidden, 
    AcceptedCharacters acceptedCharacters
)
public function MarkupSpan(
    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

MarkupSpan Class

MarkupSpan Overload

System.Web.Razor.Parser.SyntaxTree Namespace