共用方式為


SymBinder.GetReader 方法

定義

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

多載

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 傳回介面,該介面會讀取與模組相關聯的偵錯符號。

注意

不建議使用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 傳回介面,該介面會讀取與模組相關聯的偵錯符號。

適用於