SymScope.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:
override cli::array <System::Diagnostics::SymbolStore::ISymbolVariable ^> ^ GetLocals();
public:
virtual cli::array <System::Diagnostics::SymbolStore::ISymbolVariable ^> ^ GetLocals();
public override System.Diagnostics.SymbolStore.ISymbolVariable[] GetLocals ();
public virtual System.Diagnostics.SymbolStore.ISymbolVariable[] GetLocals ();
abstract member GetLocals : unit -> System.Diagnostics.SymbolStore.ISymbolVariable[]
override this.GetLocals : unit -> System.Diagnostics.SymbolStore.ISymbolVariable[]
Public Overrides Function GetLocals () As ISymbolVariable()
Public Overridable Function GetLocals () As ISymbolVariable()
Returns
The local variables within the current lexical scope.
Implements
Exceptions
There is insufficient memory to satisfy the request.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.