Bagikan melalui


IMetaDataAssemblyImport Interface

Provides methods to access and examine the contents of an assembly manifest.

Methods

Method

Description

IMetaDataAssemblyImport::CloseEnum Method

Releases the handle to the specified enumerator.

IMetaDataAssemblyImport::EnumAssemblyRefs Method

Gets an interface pointer to an enumerator that contains the mdAssemblyRef tokens of the assemblies referenced by the assembly in the current metadata scope.

IMetaDataAssemblyImport::EnumExportedTypes Method

Gets an interface pointer to an enumerator that contains the mdExportedType tokens of the COM types referenced by the assembly in the current metadata scope.

IMetaDataAssemblyImport::EnumFiles Method

Gets an interface pointer to an enumerator that contains the mdFile tokens of the files referenced by the assembly in the current metadata scope.

IMetaDataAssemblyImport::EnumManifestResources Method

Gets an interface pointer to an enumerator that contains the mdManifestResource tokens of the resources referenced by the assembly in the current metadata scope.

IMetaDataAssemblyImport::FindAssembliesByName Method

Gets an array of mdAssemblyRef tokens for the assemblies with the specified name.

IMetaDataAssemblyImport::FindExportedTypeByName Method

Gets an mdExportedType token for the COM type with the specified name.

IMetaDataAssemblyImport::FindManifestResourceByName Method

Gets an mdManifestResource token for the resource with the specified name.

IMetaDataAssemblyImport::GetAssemblyFromScope Method

Gets the token for the assembly in the current metadata scope.

IMetaDataAssemblyImport::GetAssemblyProps Method

Gets the property settings of the specified assembly.

IMetaDataAssemblyImport::GetAssemblyRefProps Method

Gets the property settings of the specified mdAssemblyRef token.

IMetaDataAssemblyImport::GetExportedTypeProps Method

Gets the property settings of the specified COM type.

IMetaDataAssemblyImport::GetFileProps Method

Gets the property settings of the specified file.

IMetaDataAssemblyImport::GetManifestResourceProps Method

Gets the property settings of the specified manifest resource.

Requirements

Platform: 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

IMetaDataAssemblyEmit Interface

Other Resources

Metadata Interfaces