IMapToken::Map Method

Maps a relationship between the assemblies using metadata signatures.

Syntax

HRESULT Map (  
    [in]  mdToken tkImp,
    [in]  mdToken tkEmit  
);  

Parameters

tkImp
[in] The metadata token that represents the imported code object.

tkEmit
[in] The metadata token that represents the emitted code object.

Remarks

When the token re-map occurs during a merge, the original token is scoped in the imported (source) metadata scope and the new token is scoped in the emitted (target) metadata 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