MetadataReaderProvider 类

定义

为存储在字节数组、内存块或流中的元数据提供 MetadataReaderProvides 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
继承
MetadataReaderProvider
实现

注解

MetadataReaderProvider 支持以下格式:MetadataReaderProvider supports the following formats:

方法

Dispose()

释放由读取器分配的所有内存。Disposes all memory allocated by the reader.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 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)

基于内存中存储的 blob 创建可移植的 PDB 元数据提供程序。Creates a portable PDB metadata provider over a blob stored in memory.

FromPortablePdbImage(ImmutableArray<Byte>)

基于字节数组创建可移植的 PDB 元数据提供程序。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.

(继承自 Object)
GetMetadataReader(MetadataReaderOptions, MetadataStringDecoder)

MetadataReader 中获取一个 MetadataReaderProviderGets a MetadataReader from a MetadataReaderProvider.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于