PEReader.ReadCodeViewDebugDirectoryData(DebugDirectoryEntry) Method

Definition

Reads the data pointed to by the specified Debug Directory entry and interprets it as CodeView.

public:
 System::Reflection::PortableExecutable::CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(System::Reflection::PortableExecutable::DebugDirectoryEntry entry);
public System.Reflection.PortableExecutable.CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData (System.Reflection.PortableExecutable.DebugDirectoryEntry entry);
member this.ReadCodeViewDebugDirectoryData : System.Reflection.PortableExecutable.DebugDirectoryEntry -> System.Reflection.PortableExecutable.CodeViewDebugDirectoryData
Public Function ReadCodeViewDebugDirectoryData (entry As DebugDirectoryEntry) As CodeViewDebugDirectoryData

Parameters

entry
DebugDirectoryEntry

A Debug Directory entry instance.

Returns

A code view debug directory data instance.

Exceptions

entry is not a CodeView entry.

Bad format of the data.

IO error while reading from the underlying stream.

The PE image is not available.

Applies to