AuthoringSink(ParseReason, Int32, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the AuthoringSink class.
public:
AuthoringSink(Microsoft::VisualStudio::Package::ParseReason reason, int line, int col, int maxErrors);
public:
AuthoringSink(Microsoft::VisualStudio::Package::ParseReason reason, int line, int col, int maxErrors);
AuthoringSink(Microsoft::VisualStudio::Package::ParseReason reason, int line, int col, int maxErrors);
public AuthoringSink (Microsoft.VisualStudio.Package.ParseReason reason, int line, int col, int maxErrors);
new Microsoft.VisualStudio.Package.AuthoringSink : Microsoft.VisualStudio.Package.ParseReason * int * int * int -> Microsoft.VisualStudio.Package.AuthoringSink
Public Sub New (reason As ParseReason, line As Integer, col As Integer, maxErrors As Integer)
Parameters
- reason
- ParseReason
[in] The reason for the parse given as a value from the ParseReason enumeration.
- line
- Int32
[in] The line number the parse started on.
- col
- Int32
[in] The offset into the line the parse started on.
- maxErrors
- 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.