Redigeeri

Jagamisviis:


SymMethod.GetScope(Int32) Method

Definition

Returns the most enclosing lexical scope corresponding to an offset within a method.

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

Parameters

offset
Int32

The IL offset within the method to look up.

Returns

The most enclosing lexical scope for the given IL offset within the method.

Implements

Remarks

You can use the GetScope method to start local variable searches.

Applies to