Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Adds imports to the assembly.
Syntax
HRESULT AddImport(
mdAssembly AssemblyID,
mdToken ImportToken,
DWORD dwFlags,
mdFile* pFileToken
) PURE;
Parameters
AssemblyID
Unique ID of assembly to be augmented.
ImportToken
Unique ID, retrieved from ImportFile Method, of file to be imported.
dwFlags
COM+ FileDef flags such as ffContainsNoMetaData and ffWriteable. dwFlags is passed to DefineFile Method.
pFileToken
Pointer to token that receives the ID for the resulting file.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h