Share via


ISymbolBinder.GetReader(Int32, String, String) 方法

定义

注意

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

注意

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. http://go.microsoft.com/fwlink/?linkid=14202=14202

获取当前文件的符号读取器的接口。

public:
 System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::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.")]
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("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("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. 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 读取与模块关联的调试符号的接口。

适用于