Upravit

Sdílet prostřednictvím


IMetaDataImport2 interface (rometadataapi.h)

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

Inheritance

The IMetaDataImport2 interface inherits from IMetaDataImport. IMetaDataImport2 also has these types of members:

Methods

The IMetaDataImport2 interface has these methods.

 
IMetaDataImport2::EnumGenericParamConstraints

Gets an enumerator for an array of generic parameter constraints associated with the generic parameter represented by the specified token.
IMetaDataImport2::EnumGenericParams

Gets an enumerator for an array of generic parameter tokens associated with the specified TypeDef or MethodDef token.
IMetaDataImport2::EnumMethodSpecs

Gets an enumerator for an array of MethodSpec tokens associated with the specified MethodDef or MemberRef token.
IMetaDataImport2::GetGenericParamConstraintProps

Gets the metadata associated with the generic parameter constraint represented by the specified constraint token.
IMetaDataImport2::GetGenericParamProps

Gets the metadata associated with the generic parameter represented by the specified token.
IMetaDataImport2::GetMethodSpecProps

Gets the metadata signature of the method referenced by the specified MethodSpec token.
IMetaDataImport2::GetPEKind

Gets a value identifying the nature of the code in the portable executable (PE) file, typically a DLL or EXE file, that is defined in the current metadata scope.
IMetaDataImport2::GetVersionString

Gets the version number of the runtime that was used to build the assembly.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h