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 (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
‘선언
Public Property Scope As AuthoringScope
public AuthoringScope Scope { get; set; }
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.