SymMethod.GetScope(Int32) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与方法内的一个偏移量对应的最封闭的词法范围。
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 方法启动局部变量搜索。