Udostępnij za pośrednictwem


ParseRequest.Scope Property

Definition

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

public:
 property Microsoft::VisualStudio::Package::AuthoringScope ^ Scope { Microsoft::VisualStudio::Package::AuthoringScope ^ get(); void set(Microsoft::VisualStudio::Package::AuthoringScope ^ value); };
public:
 property Microsoft::VisualStudio::Package::AuthoringScope ^ Scope { Microsoft::VisualStudio::Package::AuthoringScope ^ get(); void set(Microsoft::VisualStudio::Package::AuthoringScope ^ value); };
public Microsoft.VisualStudio.Package.AuthoringScope Scope { get; set; }
member this.Scope : Microsoft.VisualStudio.Package.AuthoringScope with get, set
Public Property Scope As AuthoringScope

Property Value

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.

Applies to