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 也提供目前範圍內定義之所有局部變數的存取權。

注意

這個介面是 介面的 ISymUnmanagedScope Managed對應專案,這是其中一個 Unmanaged 符號存放區介面,可提供讀取和寫入偵錯符號資訊的替代方式。

屬性

EndOffset

取得目前語彙範圍的結束位移。

Method

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

Parent

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

StartOffset

取得目前語彙範圍的起始位移。

方法

GetChildren()

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

GetLocals()

取得目前語彙範圍內的區域變數。

GetNamespaces()

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

適用於

另請參閱