語言

SymBinder.GetReader 方法

定義

取得目前檔案的符號讀取介面。

多載

名稱 Description
GetReader(Int32, String, String)
已淘汰.

利用指定的 32 位元整數指標指向元資料介面,取得當前檔案的符號讀取介面,並指定檔案名稱及指定的搜尋路徑。

GetReader(IntPtr, String, String)

利用指定的指標指向元資料介面、指定的檔案名稱及搜尋路徑,取得目前檔案的符號讀取介面。

GetReader(Int32, String, String)

警告

The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202

利用指定的 32 位元整數指標指向元資料介面,取得當前檔案的符號讀取介面,並指定檔案名稱及指定的搜尋路徑。

public:
 override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
[<System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader

參數

importer
Int32

一個 32 位元整數,指向元資料匯入介面。

filename
String

需要讀取介面的檔案名稱。

searchPath
String

搜尋路徑用於定位符號檔案。

傳回

讀取除錯符號的介面。

實作

屬性

備註

當獲得指向元資料介面的指標、檔名和搜尋路徑時,方法 GetReader 會回傳 ISymbolReader 讀取與該模組相關的除錯符號的介面。

Note

不建議使用 32 位元整數作為指標。 改用過載。GetReader

適用於

GetReader(IntPtr, String, String)

利用指定的指標指向元資料介面、指定的檔案名稱及搜尋路徑,取得目前檔案的符號讀取介面。

public:
 override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);
abstract member GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader

參數

importer
IntPtr

nativeint

一個指向元資料匯入介面的結構。

filename
String

需要讀取介面的檔案名稱。

searchPath
String

搜尋路徑用於定位符號檔案。

傳回

讀取除錯符號的介面。

實作

備註

當獲得指向元資料介面的指標、檔名和搜尋路徑時,方法 GetReader 會回傳 ISymbolReader 讀取與該模組相關的除錯符號的介面。

適用於