Bewerken

Delen via


MetadataReaderProvider Class

Definition

Provides a MetadataReader for metadata stored in an array of bytes, a memory block, or a stream.

public ref class MetadataReaderProvider sealed : IDisposable
public sealed class MetadataReaderProvider : IDisposable
type MetadataReaderProvider = class
    interface IDisposable
Public NotInheritable Class MetadataReaderProvider
Implements IDisposable
Inheritance
MetadataReaderProvider
Implements

Remarks

MetadataReaderProvider supports the following formats:

Methods

Dispose()

Disposes all memory allocated by the reader.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FromMetadataImage(Byte*, Int32)

Creates a metadata provider over an image stored in memory.

FromMetadataImage(ImmutableArray<Byte>)

Creates a provider over a byte array.

FromMetadataStream(Stream, MetadataStreamOptions, Int32)

Creates a provider for a stream of the specified size beginning at its current position.

FromPortablePdbImage(Byte*, Int32)

Creates a portable PDB metadata provider over a blob stored in memory.

FromPortablePdbImage(ImmutableArray<Byte>)

Creates a portable PDB metadata provider over a byte array.

FromPortablePdbStream(Stream, MetadataStreamOptions, Int32)

Creates a provider for a stream of the specified size beginning at its current position.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetadataReader(MetadataReaderOptions, MetadataStringDecoder)

Gets a MetadataReader from a MetadataReaderProvider.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to