Share 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMapToken Interface