Share via


HtmlSymbol Constructor (Int32, Int32, Int32, String, HtmlSymbolType, IEnumerable<RazorError>)

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

Initializes a new instance of the HtmlSymbol class.

Namespace:  System.Web.Razor.Tokenizer.Symbols
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Sub New ( _
    offset As Integer, _
    line As Integer, _
    column As Integer, _
    content As String, _
    type As HtmlSymbolType, _
    errors As IEnumerable(Of RazorError) _
)
'Usage
Dim offset As Integer 
Dim line As Integer 
Dim column As Integer 
Dim content As String 
Dim type As HtmlSymbolType 
Dim errors As IEnumerable(Of RazorError)

Dim instance As New HtmlSymbol(offset, _
    line, column, content, type, errors)
public HtmlSymbol(
    int offset,
    int line,
    int column,
    string content,
    HtmlSymbolType type,
    IEnumerable<RazorError> errors
)
public:
HtmlSymbol(
    int offset, 
    int line, 
    int column, 
    String^ content, 
    HtmlSymbolType type, 
    IEnumerable<RazorError^>^ errors
)
new : 
        offset:int * 
        line:int * 
        column:int * 
        content:string * 
        type:HtmlSymbolType * 
        errors:IEnumerable<RazorError> -> HtmlSymbol
public function HtmlSymbol(
    offset : int, 
    line : int, 
    column : int, 
    content : String, 
    type : HtmlSymbolType, 
    errors : IEnumerable<RazorError>
)

Parameters

  • line
    Type: System.Int32
    The exact line the symbol is found.
  • column
    Type: System.Int32
    The column number the symbol is found.

See Also

Reference

HtmlSymbol Class

HtmlSymbol Overload

System.Web.Razor.Tokenizer.Symbols Namespace