Partager via


IMapToken::Map Method

Maps a relationship between the assemblies using metadata signatures.

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: 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

Concepts

IMapToken Interface