SymScope.GetLocals Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient les variables locales dans l’étendue lexicale actuelle.
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()
Retours
Variables locales dans l’étendue lexicale actuelle.
Implémente
Exceptions
La mémoire est insuffisante pour répondre à la demande.
Remarques
Les variables locales sont retournées dans un ordre particulier. Si une variable locale modifie son adresse dans l’étendue actuelle, cette variable est retournée plusieurs fois, chacune avec une plage de décalage différente.