ISymbolScope.GetLocals Método
Definição
Obtém as variáveis locais dentro do escopo léxico atual.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()
Retornos
As variáveis locais dentro do escopo léxico atual.The local variables within the current lexical scope.
Comentários
As variáveis locais são retornadas sem nenhuma ordem específica.The local variables are returned in no particular order. Se uma variável local alterar seu endereço dentro do escopo atual, essa variável será retornada várias vezes, cada uma com um intervalo de deslocamento diferente.If a local variable changes its address within the current scope, that variable is returned multiple times, each with a different offset range.