Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.38 KB

isymunmanagedwriter-remaptoken-method.md

File metadata and controls

50 lines (38 loc) · 1.38 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ISymUnmanagedWriter::RemapToken Method
ISymUnmanagedWriter::RemapToken Method
03/30/2017
ISymUnmanagedWriter.RemapToken
diasymreader.dll
COM
ISymUnmanagedWriter::RemapToken
ISymUnmanagedWriter::RemapToken method [.NET Framework debugging]
RemapToken method [.NET Framework debugging]
bca92682-ee1e-467f-8fb0-d8d4617f82fe
apiref

ISymUnmanagedWriter::RemapToken Method

Notifies the symbol writer that a metadata token has been remapped as the metadata was emitted. If the symbol writer has stored the old token within the symbol store, it must either update the stored token with the new value, or it must save the map for the corresponding symbol reader to remap during the read phase.

Syntax

HRESULT RemapToken(  
    [in] mdToken  oldToken,  
    [in] mdToken  newToken);  

Parameters

oldToken
[in] The metadata token that was remapped.

newToken
[in] The new metadata token to which oldToken was remapped.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl, CorSym.h

See also