GetReader Method (Int32, String, String)
Collapse the table of content
Expand the table of content

SymBinder.GetReader Method (Int32, String, String)


Updated: March 13, 2015

Note: This API is now 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.

Namespace:   System.Diagnostics.SymbolStore
Assembly:  ISymWrapper (in ISymWrapper.dll)

[ObsoleteAttribute("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.")]
public virtual ISymbolReader GetReader(
	int importer,
	string filename,
	string searchPath


Type: System.Int32

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

Type: System.String

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

Type: System.String

The search path used to locate the symbol file.

Return Value

Type: System.Diagnostics.SymbolStore.ISymbolReader

The interface that reads the debugging symbols.

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.


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


for the ability to access unmanaged code. Security action: Demand. Associated enumeration: UnmanagedCode

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft