SymMethod.GetScope(Int32) 方法

定義

傳回對應至方法內位移之最封入的語彙範圍。

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

參數

offset
Int32

要查閱之方法內的 IL 位移。

傳回

方法內指定之 IL 位移的最封入語彙範圍。

實作

備註

您可以使用 GetScope 方法來啟動區域變數搜尋。

適用於