AuthoringScope Class

Encapsulates information about the source as obtained from a parsing operation.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class AuthoringScope
'Usage
Dim instance As AuthoringScope
[CLSCompliantAttribute(false)]
public abstract class AuthoringScope
[CLSCompliantAttribute(false)]
public ref class AuthoringScope abstract
public abstract class AuthoringScope

Remarks

AuthoringScope is used to contain the requested information from a parsing operation.

Notes to Implementers:

This class must be implemented in a derived class. If you support either IntelliSense or the Go to options (Go to Declaration, Go to Definition, and Find All References), you must implement the methods on your version of this class; otherwise, you can return nulla null reference (Nothing in Visual Basic) values from all methods. However, you must always return a non-nulla null reference (Nothing in Visual Basic) instance of your AuthoringScope object if the parse operation succeeded, even if you return a nulla null reference (Nothing in Visual Basic) value from all methods.

Notes to Callers:

An instance of this class is returned from a call to the ParseSource method that in turn is called on a background thread from the BeginParse method is called from many methods in the Source class and for many reasons.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Package.AuthoringScope

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AuthoringScope Members

Microsoft.VisualStudio.Package Namespace

Other Resources

Language Service Interfaces

Developing a Language Service

Checklist: Creating a Language Service