แก้ไข

แชร์ผ่าน


PEReader.GetMetadata Method

Definition

Loads a PE section that contains CLI metadata.

public:
 System::Reflection::PortableExecutable::PEMemoryBlock GetMetadata();
public System.Reflection.PortableExecutable.PEMemoryBlock GetMetadata ();
member this.GetMetadata : unit -> System.Reflection.PortableExecutable.PEMemoryBlock
Public Function GetMetadata () As PEMemoryBlock

Returns

A memory block that contains the CLI metadata.

Exceptions

The PE image doesn't contain metadata (HasMetadata returns false).

The PE headers contain invalid data.

IO error while reading from the underlying stream.

Applies to