Partager via


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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Déclaration
Public Sub New ( _
    reason As ParseReason, _
    line As Integer, _
    col As Integer, _
    maxErrors As Integer _
)
'Utilisation
Dim reason As ParseReason
Dim line As Integer
Dim col As Integer
Dim maxErrors As Integer

Dim instance As New AuthoringSink(reason, _
    line, col, maxErrors)
public AuthoringSink(
    ParseReason reason,
    int line,
    int col,
    int maxErrors
)
public:
AuthoringSink(
    ParseReason reason, 
    int line, 
    int col, 
    int maxErrors
)
new : 
        reason:ParseReason * 
        line:int * 
        col:int * 
        maxErrors:int -> AuthoringSink
public function AuthoringSink(
    reason : ParseReason, 
    line : int, 
    col : int, 
    maxErrors : int
)

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

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace