Freigeben über


AuthoringSink Constructor

Initializes the AuthoringSink class.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Sub New ( _
    reason As ParseReason, _
    line As Integer, _
    col As Integer, _
    maxErrors As Integer _
)
public AuthoringSink(
    ParseReason reason,
    int line,
    int col,
    int maxErrors
)

Parameters

  • line
    Type: System.Int32
    [in] The line number the parse started on.
  • col
    Type: System.Int32
    [in] The offset into the line the parse started on.
  • maxErrors
    Type: System.Int32
    [in] The maximum number of errors that are to be returned from the parser.

Remarks

You must call the base class constructor in your constructor if you derive from this class.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace