ISymbolScope.GetLocals Method
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.
Gets the local variables within the current lexical scope.
public:
cli::array <System::Diagnostics::SymbolStore::ISymbolVariable ^> ^ GetLocals();
public System.Diagnostics.SymbolStore.ISymbolVariable[] GetLocals ();
abstract member GetLocals : unit -> System.Diagnostics.SymbolStore.ISymbolVariable[]
Public Function GetLocals () As ISymbolVariable()
Returns
The local variables within the current lexical scope.
Remarks
The local variables are returned in no particular order. If a local variable changes its address within the current scope, that variable is returned multiple times, each with a different offset range.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.