Редагувати

Поділитися через


ISymbolScope.GetLocals Method

Definition

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