ISymbolBinder.GetReader(Int32, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
ISymbolBinder.GetReader has been deprecated because it is not 64-bit compatible. Use ISymbolBinder1.GetReader instead. ISymbolBinder1.GetReader accepts the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.
警告
The recommended alternative is ISymbolBinder1.GetReader. 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. https://go.microsoft.com/fwlink/?linkid=14202=14202
警告
The recommended alternative is ISymbolBinder1.GetReader. 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=14202
取得目前檔案的符號讀取介面。
public:
System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
[System.Obsolete("ISymbolBinder.GetReader has been deprecated because it is not 64-bit compatible. Use ISymbolBinder1.GetReader instead. ISymbolBinder1.GetReader accepts the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.")]
public System.Diagnostics.SymbolStore.ISymbolReader? GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is ISymbolBinder1.GetReader. 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. https://go.microsoft.com/fwlink/?linkid=14202=14202")]
public System.Diagnostics.SymbolStore.ISymbolReader? GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is ISymbolBinder1.GetReader. 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=14202")]
public System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
public System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is ISymbolBinder1.GetReader. 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. https://go.microsoft.com/fwlink/?linkid=14202=14202")]
public System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[<System.Obsolete("ISymbolBinder.GetReader has been deprecated because it is not 64-bit compatible. Use ISymbolBinder1.GetReader instead. ISymbolBinder1.GetReader accepts the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
[<System.Obsolete("The recommended alternative is ISymbolBinder1.GetReader. 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. https://go.microsoft.com/fwlink/?linkid=14202=14202")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
[<System.Obsolete("The recommended alternative is ISymbolBinder1.GetReader. 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=14202")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader
參數
- importer
- Int32
元資料匯入介面。
- filename
- String
需要讀取介面的檔案名稱。
- searchPath
- String
搜尋路徑用於定位符號檔案。
傳回
ISymbolReader讀取除錯符號的介面。
- 屬性
備註
當給定一個元資料介面、一個檔名和一個搜尋路徑時,該 GetReader 方法會回傳 ISymbolReader 讀取與該模組相關的除錯符號的介面。