語言

ISymbolScope 介面

定義

代表 內的 ISymbolMethod詞彙範圍,提供該範圍的起始與結束偏移量,以及子範圍與父範圍的存取。

public interface class ISymbolScope
public interface ISymbolScope
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISymbolScope
type ISymbolScope = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISymbolScope = interface
Public Interface ISymbolScope
衍生
屬性

備註

介面 ISymbolScope 同時提供存取目前範圍內所有定義的本地節點。

Note

此介面是介面的受管理對應介面 ISymUnmanagedScope ,後者是非管理符號存儲介面之一,提供另一種讀寫除錯符號資訊的方式。

屬性

名稱 Description
EndOffset

取得目前詞彙範圍的末端偏移量。

Method

取得包含目前詞彙範圍的方法。

Parent

取得目前範圍的父詞彙範圍。

StartOffset

取得目前詞彙範圍的起始偏移量。

方法

名稱 Description
GetChildren()

取得目前詞彙範圍的子詞彙範圍。

GetLocals()

取得目前詞彙範圍內的局部變數。

GetNamespaces()

取得目前範圍內使用的命名空間。

適用於

另請參閱