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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.