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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.