IMetaDataEmit::SaveToMemory Method

Saves all metadata in the current scope to the specified area of memory.

Syntax

HRESULT SaveToMemory (
    [out]  void        *pbData,
    [in]   ULONG       cbData
);  

Parameters

pbData
[out] The address at which to begin writing metadata.

cbData
[in] The size, in bytes, of the allocated memory.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Used as a resource in MSCorEE.dll

.NET Framework Versions: Available since 1.0

See also