IMetaDataEmit::Merge Method

Adds the specified imported scope to the list of scopes to be merged.

Syntax

HRESULT Merge (   
    [in]  IMetaDataImport  *pImport,   
    [in]  IMapToken        *pHostMapToken,   
    [in]  IUnknown         *pHandler   
);  

Parameters

pImport
[in] A pointer to an IMetaDataImport object that identifies the imported scope to be merged.

pIMap
[in] A pointer to an IMapToken object that specifies the token re-map.

pHandleer
[in] A pointer to an IUnknown>--> IUnknown object that specifies the errors.

Remarks

Call IMetaDataEmit::MergeEnd to trigger the merger of metadata into a single scope.

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

IMetaDataEmit Interface
IMetaDataEmit2 Interface