ParseRequest::Scope Property

 

Specifies the AuthoringScope object that is used to return extended 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 AuthoringScope^ Scope {
	AuthoringScope^ get();
	void set(AuthoringScope^ value);
}

Property Value

Type: Microsoft.VisualStudio.Package::AuthoringScope^

Returns an AuthoringScope object.

This property is typically set after a parsing operation completes but not by the parser. ParseSource in the LanguageService class returns an AuthoringScope object created by the parsing operation. This AuthoringScope object is typically assigned to the Scope property in the ParseRequest object to keep it with the parse request information.

Return to top
Show: