Edit

Share via


SetAssemblyFile Method

Assigns the name of the assembly to be built. Not for use when producing unbound modules.

Syntax

HRESULT SetAssemblyFile(
    LPCWSTR pszFilename,
    IMetaDataEmit* pEmitter,
    AssemblyFlags afFlags,
    mdAssembly* pAssemblyID
) PURE;

Parameters

pszFilename Fully qualified name of the manifest file.

pEmitter Pointer to IMetaDataEmit Interface interface.

afFlags Flags as defined in AssemblyFlags Enumeration.

pAssemblyID Pointer to ID of resulting assembly.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h.

See also