Share via


SetAssemblyFile2 Method

Sets the name of and options for a new assembly. Do not call this method when producing unbound modules.

HRESULT SetAssemblyFile2(
    LPCWSTR pszFilename,
    IMetaDataEmit2* pEmitter,
    AssemblyFlags   afFlags,
    mdAssembly* pAssemblyID
) PURE;

Parameters

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h.

See Also

Concepts

IALink2 Interface

IALink Interface

ALink API (Unmanaged API Reference)