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.
Sets the name of and options for a new assembly. Do not call this method when you produce unbound modules.
Syntax
HRESULT SetAssemblyFile2(
LPCWSTR pszFilename,
IMetaDataEmit2* pEmitter,
AssemblyFlags afFlags,
mdAssembly* pAssemblyID
) PURE;
Parameters
pszFilename
Name of manifest file.
pEmitter
IMetaDataEmit2 Interface interface for this file.
afFlags
Options represented by AssemblyFlags Enumeration.
pAssemblyID
Receives unique ID for the assembly being constructed.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h.