Share via


IMetaDataEmit::Save Method

Saves all metadata in the current scope to the file at the specified address.

HRESULT Save ( 
    [in]  LPCWSTR     szFile, 
    [in]  DWORD       dwSaveFlags
);

Parameters

Parameter Description

wzFile

[in] The name of the file to save to. If this value is null, the in-memory copy will be saved to the last location that was used.

dwSaveFlags

[in] Reserved. Must be zero.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataEmit Interface
IMetaDataEmit2 Interface