Επεξεργασία

Κοινή χρήση μέσω


SymScope.GetLocals Method

Definition

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