IMetaDataImport2 Interface

 

Extends the IMetaDataImport interface to provide the capability of working with generic types.

MethodDescription
EnumGenericParamConstraints MethodGets an enumerator for an array of generic parameter constraints associated with the generic parameter represented by the specified token.
EnumGenericParams MethodGets an enumerator for an array of generic parameter tokens associated with the specified TypeDef or MethodDef token.
EnumMethodSpecs MethodGets an enumerator for an array of MethodSpec tokens associated with the specified MethodDef or MemberRef token.
GetGenericParamConstraintProps MethodGets the metadata associated with the generic parameter constraint represented by the specified constraint token.
GetGenericParamProps MethodGets the metadata associated with the generic parameter represented by the specified token.
GetMethodSpecProps MethodGets the metadata signature of the method referenced by the specified MethodSpec token.
GetPEKind MethodGets a value identifying the nature of the code in a portable executable (PE) file, typically a DLL or EXE file, defined in the current metadata scope
GetVersionString MethodGets the version number of the runtime that was used to build the assembly.

Platforms: See System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

PortableExecutableKinds
Metadata Interfaces
IMetaDataImport Interface

Show: