Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initiates the importing of types from each scope imported via ImportFile Method.
HRESULT ImportTypes(
mdAssembly AssemblyID,
mdToken FileToken,
DWORD dwScope,
HALINKENUM* phEnum,
IMetaDataImport** ppImportScope,
DWORD* pdwCountOfTypes
) PURE;
Parameters
AssemblyID
ID of the assembly to import to.FileToken
ID of the file to import from.dwScope
Zero-based scope to import.phEnum
Receives enumerator handle for the types in this scope.ppImportScope
Optionally receives IMetaDataImport Interface interface.pdwCountOfTypes
Optionally receives count of types in the indicated scope.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h
See Also
Concepts
ALink API (Unmanaged API Reference)