Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Initiates the importing of types from each scope imported via ImportFile Method.
Syntax
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