IMetaDataImport2 Interface
Extends the IMetaDataImport interface to provide the capability of working with generic types.
Methods
Method | Description |
---|---|
EnumGenericParamConstraints Method | Gets an enumerator for an array of generic parameter constraints associated with the generic parameter represented by the specified token. |
EnumGenericParams Method | Gets an enumerator for an array of generic parameter tokens associated with the specified TypeDef or MethodDef token. |
EnumMethodSpecs Method | Gets an enumerator for an array of MethodSpec tokens associated with the specified MethodDef or MemberRef token. |
GetGenericParamConstraintProps Method | Gets the metadata associated with the generic parameter constraint represented by the specified constraint token. |
GetGenericParamProps Method | Gets the metadata associated with the generic parameter represented by the specified token. |
GetMethodSpecProps Method | Gets the metadata signature of the method referenced by the specified MethodSpec token. |
GetPEKind Method | Gets 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 Method | Gets the version number of the runtime that was used to build the assembly. |
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru