ParseRequest.Sink Property
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.
Specifies an AuthoringSink object used to contain information from the parsing operation.
public:
property Microsoft::VisualStudio::Package::AuthoringSink ^ Sink { Microsoft::VisualStudio::Package::AuthoringSink ^ get(); void set(Microsoft::VisualStudio::Package::AuthoringSink ^ value); };
public Microsoft.VisualStudio.Package.AuthoringSink Sink { get; set; }
member this.Sink : Microsoft.VisualStudio.Package.AuthoringSink with get, set
Public Property Sink As AuthoringSink
Property Value
Returns an AuthoringSink object that was created in the ParseRequest class constructor.
Remarks
The AuthoringSink object is used by the parser to collect information about the source file such as method signatures, matching language pairs (for example "{" and "}") and triples (for example "if(...)
", "{
" and "}
"), and member declarations.
If you need to derive your own version of an AuthoringSink object, use this property right after the ParseRequest class is instantiated to set your version of the AuthoringSink object. See the Example in the ParseRequest class topic to see how this can be done.