Partager via


ParseRequest.Scope Property

Specifies the AuthoringScope object that is used to return extended information from the parsing operation.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Property Scope As AuthoringScope
public AuthoringScope Scope { get; set; }
public:
property AuthoringScope^ Scope {
    AuthoringScope^ get ();
    void set (AuthoringScope^ value);
}
member Scope : AuthoringScope with get, set
function get Scope () : AuthoringScope 
function set Scope (value : AuthoringScope)

Property Value

Type: Microsoft.VisualStudio.Package.AuthoringScope
Returns an AuthoringScope object.

Remarks

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.

.NET Framework Security

See Also

Reference

ParseRequest Class

Microsoft.VisualStudio.Package Namespace