ParseRequest::Sink Property

 

Specifies an AuthoringSink object used to contain information from the parsing operation.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property AuthoringSink^ Sink {
	AuthoringSink^ get();
	void set(AuthoringSink^ value);
}

Property Value

Type: Microsoft.VisualStudio.Package::AuthoringSink^

Returns an AuthoringSink object that was created in the ParseRequest class constructor.

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.

Return to top
Show: