Share via


ParseRequest.Sink Property

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

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

Syntax

'Declaration
Public Property Sink As AuthoringSink
'Usage
Dim instance As ParseRequest 
Dim value As AuthoringSink 

value = instance.Sink

instance.Sink = value
public AuthoringSink Sink { get; set; }
public:
property AuthoringSink^ Sink {
    AuthoringSink^ get ();
    void set (AuthoringSink^ value);
}
public function get Sink () : AuthoringSink 
public function set Sink (value : AuthoringSink)

Property Value

Type: Microsoft.VisualStudio.Package.AuthoringSink
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.

.NET Framework Security

See Also

Reference

ParseRequest Class

ParseRequest Members

Microsoft.VisualStudio.Package Namespace