IMetaDataAssemblyEmit Interface

提供支持公共语言运行时用来解析和使用资源的自我描述模型的方法。

Methods

Method Description
DefineAssembly Method 创建包含指定程序集的元数据的程序集数据结构,并返回关联的元数据令牌。
DefineAssemblyRef Method 创建一个 AssemblyRef 结构,其中包含此程序集引用的程序集的元数据,并返回关联的元数据令牌。
DefineExportedType Method 创建包含 ExportedType 指定导出类型的元数据的结构,并返回关联的元数据令牌。
DefineFile Method 创建一个 File 元数据结构,其中包含此程序集引用的程序集的元数据,并返回关联的元数据令牌。
DefineManifestResource Method 创建包含 ManifestResource 指定清单资源的元数据的结构,并返回关联的元数据令牌。
SetAssemblyProps Method 修改指定的 Assembly 元数据结构。
SetAssemblyRefProps Method 修改指定的 AssemblyRef 元数据结构。
SetExportedTypeProps Method 修改指定的 ExportedType 元数据结构。
SetFileProps Method 修改指定的 File 元数据结构。
SetManifestResourceProps Method 修改指定的 ManifestResource 元数据结构。

Remarks

Requirements

平台: 请参阅 .NET 支持的作系统

Header: Cor.h

Library: CorGuids.lib

See also