Επεξεργασία

Κοινή χρήση μέσω


SymBinder.GetReader Method

Definition

Gets the interface of the symbol reader for the current file.

Overloads

GetReader(Int32, String, String)
Obsolete.

Gets the interface of the symbol reader for the current file, using the specified 32-bit integer pointer to a metadata interface, the specified file name, and the specified search path.

GetReader(IntPtr, String, String)

Gets the interface of the symbol reader for the current file, using the specified pointer to a metadata interface, the specified file name, and the specified search path.

GetReader(Int32, String, String)

Caution

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

Gets the interface of the symbol reader for the current file, using the specified 32-bit integer pointer to a metadata interface, the specified file name, and the specified search path.

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

Parameters

importer
Int32

A 32-bit integer that points to the metadata import interface.

filename
String

The name of the file for which the reader interface is required.

searchPath
String

The search path used to locate the symbol file.

Returns

The interface that reads the debugging symbols.

Implements

Attributes

Remarks

When given a pointer to a metadata interface, a file name, and a search path, the GetReader method returns the ISymbolReader interface that reads the debugging symbols associated with the module.

Note

Using a 32-bit integer as a pointer is not recommended. Use the GetReader overload instead.

Applies to

GetReader(IntPtr, String, String)

Gets the interface of the symbol reader for the current file, using the specified pointer to a metadata interface, the specified file name, and the specified search path.

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

Parameters

importer
IntPtr

nativeint

A structure that points to the metadata import interface.

filename
String

The name of the file for which the reader interface is required.

searchPath
String

The search path used to locate the symbol file.

Returns

The interface that reads the debugging symbols.

Implements

Remarks

When given a pointer to a metadata interface, a file name, and a search path, the GetReader method returns the ISymbolReader interface that reads the debugging symbols associated with the module.

Applies to