ISymbolBinder1.GetReader(IntPtr, String, String) Method

Definition

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

C#
public System.Diagnostics.SymbolStore.ISymbolReader? GetReader(IntPtr importer, string filename, string searchPath);
C#
public System.Diagnostics.SymbolStore.ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);

Parameters

importer
IntPtr

An IntPtr that refers 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 ISymbolReader interface that reads the debugging symbols.

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

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1