PEReader.GetMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.