SymMethod.GetScope(Int32) Méthode

Définition

Retourne la portée lexicale la plus englobante correspondant à un décalage dans une méthode.

public:
 override System::Diagnostics::SymbolStore::ISymbolScope ^ GetScope(int offset);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolScope ^ GetScope(int offset);
public override System.Diagnostics.SymbolStore.ISymbolScope GetScope(int offset);
public virtual System.Diagnostics.SymbolStore.ISymbolScope GetScope(int offset);
abstract member GetScope : int -> System.Diagnostics.SymbolStore.ISymbolScope
override this.GetScope : int -> System.Diagnostics.SymbolStore.ISymbolScope
Public Overrides Function GetScope (offset As Integer) As ISymbolScope
Public Overridable Function GetScope (offset As Integer) As ISymbolScope

Paramètres

offset
Int32

Décalage IL dans la méthode à rechercher.

Retours

Étendue le plus englobante pour le décalage IL donné dans la méthode.

Implémente

Remarques

Vous pouvez utiliser la GetScope méthode pour démarrer des recherches de variables locales.

S’applique à