語言

ISymbolReader 介面

定義

代表管理程式碼的符號讀取器。

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
衍生
屬性

備註

介面提供文件、方法與變數的存取。

Note

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

屬性

名稱 Description
UserEntryPoint

取得該模組使用者入口點的方法的元資料標記(若有的話)。

方法

名稱 Description
GetDocument(String, Guid, Guid, Guid)

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

GetDocuments()

會取得符號儲存中定義的所有文件陣列。

GetGlobalVariables()

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

GetMethod(SymbolToken, Int32)

當獲得方法的識別碼及其編輯與繼續版本時,會獲得一個符號讀取器方法物件。

GetMethod(SymbolToken)

當獲得方法的識別碼時,會獲得一個符號讀取方法物件。

GetMethodFromDocumentPosition(ISymbolDocument, Int32, Int32)

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

GetNamespaces()

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

GetSymAttribute(SymbolToken, String)

當獲得屬性名稱時,會獲得一個屬性值。

GetVariables(SymbolToken)

當給定父變數時,會取得非本地變數。

適用於

另請參閱