ISymbolReader 介面

定義

表示 Managed 程式碼的符號讀取器 (Reader)。

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

備註

介面可讓您存取檔、方法和變數。

注意

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

屬性

UserEntryPoint

取得方法的中繼資料語彙基元 (如果有的話),這個語彙基元會被指定為模組的使用者進入點。

方法

GetDocument(String, Guid, Guid, Guid)

取得由語言、廠商和類型指定的文件。

GetDocuments()

取得定義在符號存放區中所有文件的陣列。

GetGlobalVariables()

取得模組中所有全域變數。

GetMethod(SymbolToken)

取得當指定方法的識別項時的符號讀取器方法物件。

GetMethod(SymbolToken, Int32)

取得當指定方法的識別項和其編輯後繼續版本時的符號讀取器方法物件。

GetMethodFromDocumentPosition(ISymbolDocument, Int32, Int32)

取得符號讀取器方法物件,包含文件中指定的位置。

GetNamespaces()

取得目前符號存放區內定義在全域範圍中的命名空間。

GetSymAttribute(SymbolToken, String)

取得當指定屬性名稱時的屬性值。

GetVariables(SymbolToken)

當指定父代時,取得不是區域的變數。

適用於

另請參閱