IMetaDataAssemblyEmit Interface

Provides methods that support the self-description model used by the common language runtime to resolve and consume resources.

Methods

Method

Description

IMetaDataAssemblyEmit::DefineAssembly Method

Creates an assembly data structure containing metadata for the specified assembly, and returns the associated metadata token.

IMetaDataAssemblyEmit::DefineAssemblyRef Method

Creates an AssemblyRef structure containing metadata for the assembly that this assembly references, and returns the associated metadata token.

IMetaDataAssemblyEmit::DefineExportedType Method

Creates an ExportedType structure containing metadata for the specified exported type, and returns the associated metadata token.

IMetaDataAssemblyEmit::DefineFile Method

Creates a File metadata structure containing metadata for assembly referenced by this assembly, and returns the associated metadata token.

IMetaDataAssemblyEmit::DefineManifestResource Method

Creates a ManifestResource structure containing metadata for the specified manifest resource, and returns the associated metadata token.

IMetaDataAssemblyEmit::SetAssemblyProps Method

Modifies the specified Assembly metadata structure.

IMetaDataAssemblyEmit::SetAssemblyRefProps Method

Modifies the specified AssemblyRef metadata structure.

IMetaDataAssemblyEmit::SetExportedTypeProps Method

Modifies the specified ExportedType metadata structure.

IMetaDataAssemblyEmit::SetFileProps Method

Modifies the specified File metadata structure.

IMetaDataAssemblyEmit::SetManifestResourceProps Method

Modifies the specified ManifestResource metadata structure.

Remarks

For more information on metadata tokens, see Metadata Tokens.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ASSEMBLYMETADATA Structure

IMetaDataAssemblyImport Interface

Other Resources

Metadata Interfaces