IMetaDataImport2 interface
Extends the IMetaDataImport interface to provide the capability of working with generic types.
Members
The IMetaDataImport2 interface inherits from IMetaDataImport. IMetaDataImport2 also has these types of members:
Methods
The IMetaDataImport2 interface has these methods.
| Method | Description |
|---|---|
| EnumGenericParamConstraints |
Gets an enumerator for an array of generic parameter constraints associated with the generic parameter represented by the specified token. |
| EnumGenericParams |
Gets an enumerator for an array of generic parameter tokens associated with the specified TypeDef or MethodDef token. |
| EnumMethodSpecs |
Gets an enumerator for an array of MethodSpec tokens associated with the specified MethodDef or MemberRef token. |
| GetGenericParamConstraintProps |
Gets the metadata associated with the generic parameter constraint represented by the specified constraint token. |
| GetGenericParamProps |
Gets the metadata associated with the generic parameter represented by the specified token. |
| GetMethodSpecProps |
Gets the metadata signature of the method referenced by the specified MethodSpec token. |
| 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. |
| GetVersionString |
Gets the version number of the runtime that was used to build the assembly. |
Requirements
|
IDL |
|
|---|