IMetaDataAssemblyImport class com
Provides methods to access and examine the contents of an assembly manifest.
To learn more, see learn.microsoft.com/windows/win32/api/rometadataapi/nn-rometadataapi-imetadataassemblyimport.
- Inheritance
- Implemented types
Constructors
- IMetaDataAssemblyImport(VTablePointer ptr)
- Creates a new instance of IMetaDataAssemblyImport from a VTablePointer.
- IMetaDataAssemblyImport.from(IUnknown interface)
-
Creates a new instance of IMetaDataAssemblyImport from an existing
interface.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ptr → VTablePointer
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count of this COM object.
inherited
-
closeEnum(
Pointer< NativeType> hEnum) → void - Releases a reference to the specified enumeration instance.
-
enumAssemblyRefs(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rAssemblyRefs, int cMax, Pointer<Uint32> pcTokens) → void - Enumerates the mdAssemblyRef instances that are defined in the assembly manifest.
-
enumExportedTypes(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rExportedTypes, int cMax, Pointer<Uint32> pcTokens) → void - Enumerates the exported types referenced in the assembly manifest in the current metadata scope.
-
enumFiles(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rFiles, int cMax, Pointer<Uint32> pcTokens) → void - Enumerates the files referenced in the current assembly manifest.
-
enumManifestResources(
Pointer< Pointer< phEnum, Pointer<NativeType> >Uint32> rManifestResources, int cMax, Pointer<Uint32> pcTokens) → void - Gets a pointer to an enumerator for the resources referenced in the current assembly manifest.
-
findAssembliesByName(
PCWSTR szAppBase, PCWSTR szPrivateBin, PCWSTR szAssemblyName, Pointer< VTablePointer> ppIUnk, int cMax, Pointer<Uint32> pcAssemblies) → void - Gets an array of assemblies with the specified name, using the standard rules employed by the common language runtime (CLR) for resolving references.
-
findExportedTypeByName(
PCWSTR szName, int mdtExportedType, Pointer< Uint32> ptkExportedType) → void - Gets a pointer to an exported type, given its name and enclosing type.
-
findManifestResourceByName(
PCWSTR szName, Pointer< Uint32> ptkManifestResource) → void - Gets a pointer to the manifest resource with the specified name.
-
getAssemblyFromScope(
Pointer< Uint32> ptkAssembly) → void - Gets a pointer to the assembly in the current scope.
-
getAssemblyProps(
int mda, Pointer< Pointer< ppbPublicKey, Pointer<NativeType> >Uint32> pcbPublicKey, Pointer<Uint32> pulHashAlgId, PWSTR? szName, int cchName, Pointer<Uint32> pchName, Pointer<ASSEMBLYMETADATA> pMetaData, Pointer<Uint32> pdwAssemblyFlags) → void - Gets the set of properties for the assembly with the specified metadata signature.
-
getAssemblyRefProps(
int mdar, Pointer< Pointer< ppbPublicKeyOrToken, Pointer<NativeType> >Uint32> pcbPublicKeyOrToken, PWSTR? szName, int cchName, Pointer<Uint32> pchName, Pointer<ASSEMBLYMETADATA> pMetaData, Pointer<Pointer< ppbHashValue, Pointer<NativeType> >Uint32> pcbHashValue, Pointer<Uint32> pdwAssemblyRefFlags) → void - Gets the set of properties for the assembly reference with the specified metadata signature.
-
getExportedTypeProps(
int mdct, PWSTR? szName, int cchName, Pointer< Uint32> pchName, Pointer<Uint32> ptkImplementation, Pointer<Uint32> ptkTypeDef, Pointer<Uint32> pdwExportedTypeFlags) → void - Gets the set of properties of the exported type with the specified metadata signature.
-
getFileProps(
int mdf, PWSTR? szName, int cchName, Pointer< Uint32> pchName, Pointer<Pointer< ppbHashValue, Pointer<NativeType> >Uint32> pcbHashValue, Pointer<Uint32> pdwFileFlags) → void - Gets the properties of the file with the specified metadata signature.
-
getManifestResourceProps(
int mdmr, PWSTR? szName, int cchName, Pointer< Uint32> pchName, Pointer<Uint32> ptkImplementation, Pointer<Uint32> pdwOffset, Pointer<Uint32> pdwResourceFlags) → void - Gets the set of properties of the manifest resource with the specified metadata signature.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
release(
) → int -
Decrements the reference count of this COM object.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited