IMetaDataImport2 class com
Extends the IMetaDataImport interface to provide the capability of working with generic types.
- Inheritance
-
- Object
- IUnknown
- IMetaDataImport
- IMetaDataImport2
Constructors
-
IMetaDataImport2.new(Pointer<
COMObject> ptr) - IMetaDataImport2.from(IUnknown interface)
-
factory
Properties
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< phEnum, int tk, int tkType, Pointer<NativeType> >Uint32> rCustomAttributes, int cMax, Pointer<Uint32> pcCustomAttributes) → int -
inherited
-
enumEvents(
Pointer< Pointer< phEnum, int td, Pointer<NativeType> >Uint32> rEvents, int cMax, Pointer<Uint32> pcEvents) → int -
inherited
-
enumFields(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Uint32> rFields, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumFieldsWithName(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Utf16> szName, Pointer<Uint32> rFields, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumGenericParamConstraints(
Pointer< Pointer< phEnum, int tk, Pointer<NativeType> >Uint32> rGenericParamConstraints, int cMax, Pointer<Uint32> pcGenericParamConstraints) → int -
enumGenericParams(
Pointer< Pointer< phEnum, int tk, Pointer<NativeType> >Uint32> rGenericParams, int cMax, Pointer<Uint32> pcGenericParams) → int -
enumInterfaceImpls(
Pointer< Pointer< phEnum, int td, Pointer<NativeType> >Uint32> rImpls, int cMax, Pointer<Uint32> pcImpls) → int -
inherited
-
enumMemberRefs(
Pointer< Pointer< phEnum, int tkParent, Pointer<NativeType> >Uint32> rMemberRefs, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumMembers(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Uint32> rMembers, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumMembersWithName(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Utf16> szName, Pointer<Uint32> rMembers, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumMethodImpls(
Pointer< Pointer< phEnum, int td, Pointer<NativeType> >Uint32> rMethodBody, Pointer<Uint32> rMethodDecl, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumMethods(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumMethodSemantics(
Pointer< Pointer< phEnum, int mb, Pointer<NativeType> >Uint32> rEventProp, int cMax, Pointer<Uint32> pcEventProp) → int -
inherited
-
enumMethodSpecs(
Pointer< Pointer< phEnum, int tk, Pointer<NativeType> >Uint32> rMethodSpecs, int cMax, Pointer<Uint32> pcMethodSpecs) → int -
enumMethodsWithName(
Pointer< Pointer< phEnum, int cl, Pointer<NativeType> >Utf16> szName, Pointer<Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumModuleRefs(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rModuleRefs, int cmax, Pointer<Uint32> pcModuleRefs) → int -
inherited
-
enumParams(
Pointer< Pointer< phEnum, int mb, Pointer<NativeType> >Uint32> rParams, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumPermissionSets(
Pointer< Pointer< phEnum, int tk, int dwActions, Pointer<NativeType> >Uint32> rPermission, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumProperties(
Pointer< Pointer< phEnum, int td, Pointer<NativeType> >Uint32> rProperties, int cMax, Pointer<Uint32> pcProperties) → int -
inherited
-
enumSignatures(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rSignatures, int cmax, Pointer<Uint32> pcSignatures) → int -
inherited
-
enumTypeDefs(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rTypeDefs, int cMax, Pointer<Uint32> pcTypeDefs) → int -
inherited
-
enumTypeRefs(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rTypeRefs, int cMax, Pointer<Uint32> pcTypeRefs) → int -
inherited
-
enumTypeSpecs(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rTypeSpecs, int cmax, Pointer<Uint32> pcTypeSpecs) → int -
inherited
-
enumUnresolvedMethods(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rMethods, int cMax, Pointer<Uint32> pcTokens) → int -
inherited
-
enumUserStrings(
Pointer< Pointer< phEnum, Pointer<NativeType> >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< ppData, Pointer<NativeType> >Uint32> pcbData) → int -
inherited
-
getCustomAttributeProps(
int cv, Pointer< Uint32> ptkObj, Pointer<Uint32> ptkType, Pointer<Pointer< ppBlob, Pointer<NativeType> >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< ppvNativeType, Pointer<Uint8> >Uint32> pcbNativeType) → int -
inherited
-
getFieldProps(
int mb, Pointer< Uint32> pClass, Pointer<Utf16> szField, int cchField, Pointer<Uint32> pchField, Pointer<Uint32> pdwAttr, Pointer<Pointer< ppvSigBlob, Pointer<Uint8> >Uint32> pcbSigBlob, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer< ppValue, Pointer<NativeType> >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< ppvSigBlob, Pointer<Uint8> >Uint32> pcbSigBlob, Pointer<Uint32> pulCodeRVA, Pointer<Uint32> pdwImplFlags, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer< ppValue, Pointer<NativeType> >Uint32> pcchValue) → int -
inherited
-
getMemberRefProps(
int mr, Pointer< Uint32> ptk, Pointer<Utf16> szMember, int cchMember, Pointer<Uint32> pchMember, Pointer<Pointer< ppvSigBlob, Pointer<Uint8> >Uint32> pbSig) → int -
inherited
-
getMethodProps(
int mb, Pointer< Uint32> pClass, Pointer<Utf16> szMethod, int cchMethod, Pointer<Uint32> pchMethod, Pointer<Uint32> pdwAttr, Pointer<Pointer< ppvSigBlob, Pointer<Uint8> >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< ppvSigBlob, Pointer<Uint8> >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< pszUtf8NamePtr) → intInt8> > -
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< ppValue, Pointer<NativeType> >Uint32> pcchValue) → int -
inherited
-
getPEKind(
Pointer< Uint32> pdwPEKind, Pointer<Uint32> pdwMAchine) → int -
getPermissionSetProps(
int pm, Pointer< Uint32> pdwAction, Pointer<Pointer< ppvPermission, Pointer<NativeType> >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< ppvSig, Pointer<Uint8> >Uint32> pbSig, Pointer<Uint32> pdwCPlusTypeFlag, Pointer<Pointer< ppDefaultValue, Pointer<NativeType> >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< ppvSig, Pointer<Uint8> >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< ppvSig, Pointer<Uint8> >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< ppvObject) → intNativeType> > -
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< ppIScope, Pointer<COMObject> >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