IMetaDataImport2 class com

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

Inheritance

Constructors

IMetaDataImport2(Pointer<COMObject> ptr)
IMetaDataImport2.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
closeEnum(Pointer<NativeType> hEnum) → void
inherited
countEnum(Pointer<NativeType> hEnum, Pointer<Uint32> pulCount) int
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
enumCustomAttributes(Pointer<Pointer<NativeType>> phEnum, int tk, int tkType, Pointer<Uint32> rCustomAttributes, int cMax, Pointer<Uint32> pcCustomAttributes) int
inherited
enumEvents(Pointer<Pointer<NativeType>> phEnum, int td, Pointer<Uint32> rEvents, int cMax, Pointer<Uint32> pcEvents) int
inherited
enumFields(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Uint32> rFields, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumFieldsWithName(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Utf16> szName, Pointer<Uint32> rFields, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumGenericParamConstraints(Pointer<Pointer<NativeType>> phEnum, int tk, Pointer<Uint32> rGenericParamConstraints, int cMax, Pointer<Uint32> pcGenericParamConstraints) int
enumGenericParams(Pointer<Pointer<NativeType>> phEnum, int tk, Pointer<Uint32> rGenericParams, int cMax, Pointer<Uint32> pcGenericParams) int
enumInterfaceImpls(Pointer<Pointer<NativeType>> phEnum, int td, Pointer<Uint32> rImpls, int cMax, Pointer<Uint32> pcImpls) int
inherited
enumMemberRefs(Pointer<Pointer<NativeType>> phEnum, int tkParent, Pointer<Uint32> rMemberRefs, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumMembers(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Uint32> rMembers, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumMembersWithName(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Utf16> szName, Pointer<Uint32> rMembers, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumMethodImpls(Pointer<Pointer<NativeType>> phEnum, int td, Pointer<Uint32> rMethodBody, Pointer<Uint32> rMethodDecl, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumMethods(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumMethodSemantics(Pointer<Pointer<NativeType>> phEnum, int mb, Pointer<Uint32> rEventProp, int cMax, Pointer<Uint32> pcEventProp) int
inherited
enumMethodSpecs(Pointer<Pointer<NativeType>> phEnum, int tk, Pointer<Uint32> rMethodSpecs, int cMax, Pointer<Uint32> pcMethodSpecs) int
enumMethodsWithName(Pointer<Pointer<NativeType>> phEnum, int cl, Pointer<Utf16> szName, Pointer<Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumModuleRefs(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rModuleRefs, int cmax, Pointer<Uint32> pcModuleRefs) int
inherited
enumParams(Pointer<Pointer<NativeType>> phEnum, int mb, Pointer<Uint32> rParams, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumPermissionSets(Pointer<Pointer<NativeType>> phEnum, int tk, int dwActions, Pointer<Uint32> rPermission, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumProperties(Pointer<Pointer<NativeType>> phEnum, int td, Pointer<Uint32> rProperties, int cMax, Pointer<Uint32> pcProperties) int
inherited
enumSignatures(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rSignatures, int cmax, Pointer<Uint32> pcSignatures) int
inherited
enumTypeDefs(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rTypeDefs, int cMax, Pointer<Uint32> pcTypeDefs) int
inherited
enumTypeRefs(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rTypeRefs, int cMax, Pointer<Uint32> pcTypeRefs) int
inherited
enumTypeSpecs(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rTypeSpecs, int cmax, Pointer<Uint32> pcTypeSpecs) int
inherited
enumUnresolvedMethods(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) int
inherited
enumUserStrings(Pointer<Pointer<NativeType>> phEnum, Pointer<Uint32> rStrings, int cmax, Pointer<Uint32> pcStrings) int
inherited
findField(int td, Pointer<Utf16> szName, Pointer<Uint8> pvSigBlob, int cbSigBlob, Pointer<Uint32> pmb) int
inherited
findMember(int td, Pointer<Utf16> szName, Pointer<Uint8> pvSigBlob, int cbSigBlob, Pointer<Uint32> pmb) int
inherited
findMemberRef(int td, Pointer<Utf16> szName, Pointer<Uint8> pvSigBlob, int cbSigBlob, Pointer<Uint32> pmr) int
inherited
findMethod(int td, Pointer<Utf16> szName, Pointer<Uint8> pvSigBlob, int cbSigBlob, Pointer<Uint32> pmb) int
inherited
findTypeDefByName(Pointer<Utf16> szTypeDef, int tkEnclosingClass, Pointer<Uint32> ptd) int
inherited
findTypeRef(int tkResolutionScope, Pointer<Utf16> szName, Pointer<Uint32> ptr_) int
inherited
getClassLayout(int td, Pointer<Uint32> pdwPackSize, Pointer<COR_FIELD_OFFSET> rFieldOffset, int cMax, Pointer<Uint32> pcFieldOffset, Pointer<Uint32> pulClassSize) int
inherited
getCustomAttributeByName(int tkObj, Pointer<Utf16> szName, Pointer<Pointer<NativeType>> ppData, Pointer<Uint32> pcbData) int
inherited
getCustomAttributeProps(int cv, Pointer<Uint32> ptkObj, Pointer<Uint32> ptkType, Pointer<Pointer<NativeType>> ppBlob, Pointer<Uint32> pcbSize) int
inherited
getEventProps(int ev, Pointer<Uint32> pClass, Pointer<Utf16> szEvent, int cchEvent, Pointer<Uint32> pchEvent, Pointer<Uint32> pdwEventFlags, Pointer<Uint32> ptkEventType, Pointer<Uint32> pmdAddOn, Pointer<Uint32> pmdRemoveOn, Pointer<Uint32> pmdFire, Pointer<Uint32> rmdOtherMethod, int cMax, Pointer<Uint32> pcOtherMethod) int
inherited
getFieldMarshal(int tk, Pointer<Pointer<Uint8>> ppvNativeType, Pointer<Uint32> pcbNativeType) int
inherited
getFieldProps(int mb, Pointer<Uint32> pClass, Pointer<Utf16> szField, int cchField, Pointer<Uint32> pchField, Pointer<Uint32> pdwAttr, Pointer<Pointer<Uint8>> ppvSigBlob, Pointer<Uint32> pcbSigBlob, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer<NativeType>> ppValue, Pointer<Uint32> pcchValue) int
inherited
getGenericParamConstraintProps(int gpc, Pointer<Uint32> ptGenericParam, Pointer<Uint32> ptkConstraintType) int
getGenericParamProps(int gp, Pointer<Uint32> pulParamSeq, Pointer<Uint32> pdwParamFlags, Pointer<Uint32> ptOwner, Pointer<Uint32> reserved, Pointer<Utf16> wzname, int cchName, Pointer<Uint32> pchName) int
getInterfaceImplProps(int iiImpl, Pointer<Uint32> pClass, Pointer<Uint32> ptkIface) int
inherited
getMemberProps(int mb, Pointer<Uint32> pClass, Pointer<Utf16> szMember, int cchMember, Pointer<Uint32> pchMember, Pointer<Uint32> pdwAttr, Pointer<Pointer<Uint8>> ppvSigBlob, Pointer<Uint32> pcbSigBlob, Pointer<Uint32> pulCodeRVA, Pointer<Uint32> pdwImplFlags, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer<NativeType>> ppValue, Pointer<Uint32> pcchValue) int
inherited
getMemberRefProps(int mr, Pointer<Uint32> ptk, Pointer<Utf16> szMember, int cchMember, Pointer<Uint32> pchMember, Pointer<Pointer<Uint8>> ppvSigBlob, Pointer<Uint32> pbSig) int
inherited
getMethodProps(int mb, Pointer<Uint32> pClass, Pointer<Utf16> szMethod, int cchMethod, Pointer<Uint32> pchMethod, Pointer<Uint32> pdwAttr, Pointer<Pointer<Uint8>> ppvSigBlob, Pointer<Uint32> pcbSigBlob, Pointer<Uint32> pulCodeRVA, Pointer<Uint32> pdwImplFlags) int
inherited
getMethodSemantics(int mb, int tkEventProp, Pointer<Uint32> pdwSemanticsFlags) int
inherited
getMethodSpecProps(int mi, Pointer<Uint32> tkParent, Pointer<Pointer<Uint8>> ppvSigBlob, Pointer<Uint32> pcbSigBlob) int
getModuleFromScope(Pointer<Uint32> pmd) int
inherited
getModuleRefProps(int mur, Pointer<Utf16> szName, int cchName, Pointer<Uint32> pchName) int
inherited
getNameFromToken(int tk, Pointer<Pointer<Int8>> pszUtf8NamePtr) int
inherited
getNativeCallConvFromSig(Pointer<NativeType> pvSig, int cbSig, Pointer<Uint32> pCallConv) int
inherited
getNestedClassProps(int tdNestedClass, Pointer<Uint32> ptdEnclosingClass) int
inherited
getParamForMethodIndex(int md, int ulParamSeq, Pointer<Uint32> ppd) int
inherited
getParamProps(int tk, Pointer<Uint32> pmd, Pointer<Uint32> pulSequence, Pointer<Utf16> szName, int cchName, Pointer<Uint32> pchName, Pointer<Uint32> pdwAttr, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer<NativeType>> ppValue, Pointer<Uint32> pcchValue) int
inherited
getPEKind(Pointer<Uint32> pdwPEKind, Pointer<Uint32> pdwMAchine) int
getPermissionSetProps(int pm, Pointer<Uint32> pdwAction, Pointer<Pointer<NativeType>> ppvPermission, Pointer<Uint32> pcbPermission) int
inherited
getPinvokeMap(int tk, Pointer<Uint32> pdwMappingFlags, Pointer<Utf16> szImportName, int cchImportName, Pointer<Uint32> pchImportName, Pointer<Uint32> pmrImportDLL) int
inherited
getPropertyProps(int prop, Pointer<Uint32> pClass, Pointer<Utf16> szProperty, int cchProperty, Pointer<Uint32> pchProperty, Pointer<Uint32> pdwPropFlags, Pointer<Pointer<Uint8>> ppvSig, Pointer<Uint32> pbSig, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer<NativeType>> ppDefaultValue, Pointer<Uint32> pcchDefaultValue, Pointer<Uint32> pmdSetter, Pointer<Uint32> pmdGetter, Pointer<Uint32> rmdOtherMethod, int cMax, Pointer<Uint32> pcOtherMethod) int
inherited
getRVA(int tk, Pointer<Uint32> pulCodeRVA, Pointer<Uint32> pdwImplFlags) int
inherited
getScopeProps(Pointer<Utf16> szName, int cchName, Pointer<Uint32> pchName, Pointer<GUID> pmvid) int
inherited
getSigFromToken(int mdSig, Pointer<Pointer<Uint8>> ppvSig, Pointer<Uint32> pcbSig) int
inherited
getTypeDefProps(int td, Pointer<Utf16> szTypeDef, int cchTypeDef, Pointer<Uint32> pchTypeDef, Pointer<Uint32> pdwTypeDefFlags, Pointer<Uint32> ptkExtends) int
inherited
getTypeRefProps(int tr, Pointer<Uint32> ptkResolutionScope, Pointer<Utf16> szName, int cchName, Pointer<Uint32> pchName) int
inherited
getTypeSpecFromToken(int typespec, Pointer<Pointer<Uint8>> ppvSig, Pointer<Uint32> pcbSig) int
inherited
getUserString(int stk, Pointer<Utf16> szString, int cchString, Pointer<Uint32> pchString) int
inherited
getVersionString(Pointer<Utf16> pwzBuf, int ccBufSize, Pointer<Uint32> pccBufSize) int
isGlobal(int pd, Pointer<Int32> pbGlobal) int
inherited
isValidToken(int tk) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
resetEnum(Pointer<NativeType> hEnum, int ulPos) int
inherited
resolveTypeRef(int tr, Pointer<GUID> riid, Pointer<Pointer<COMObject>> ppIScope, Pointer<Uint32> ptd) int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited