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 读取与模块关联的调试符号的接口。

适用于