다음을 통해 공유


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.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
    Get
    Set
‘사용 방법
Dim instance As ParseRequest
Dim value As AuthoringScope

value = instance.Scope

instance.Scope = value
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

ParseRequest Members

Microsoft.VisualStudio.Package Namespace