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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.