ISymbolScope Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a lexical scope within ISymbolMethod, providing access to the start and end offsets of the scope, as well as its child and parent scopes.
public interface class ISymbolScope
public interface ISymbolScope
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISymbolScope
type ISymbolScope = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISymbolScope = interface
Public Interface ISymbolScope
- Derived
- Attributes
Remarks
The ISymbolScope interface also provides access to all locals defined within the current scope.
Note
This interface is the managed counterpart of the ISymUnmanagedScope
interface, which is one of the unmanaged symbol store interfaces that provide an alternate way to read and write debug symbol information.
Properties
EndOffset |
Gets the end offset of the current lexical scope. |
Method |
Gets the method that contains the current lexical scope. |
Parent |
Gets the parent lexical scope of the current scope. |
StartOffset |
Gets the start offset of the current lexical scope. |
Methods
GetChildren() |
Gets the child lexical scopes of the current lexical scope. |
GetLocals() |
Gets the local variables within the current lexical scope. |
GetNamespaces() |
Gets the namespaces that are used within the current scope. |
Applies to
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про