Share via


IMetaDataEmit::DeletePinvokeMap Method

Destroys the PInvoke mapping metadata for the object referenced by the specified token.

HRESULT DeletePinvokeMap ( 
    [in]  mdToken     tk 
);

Parameters

  • tk
    [in] An mdFieldDef or mdMethodDef token that represents the object for which to delete the PInvoke mapping metadata.

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

IMetaDataEmit Interface

IMetaDataEmit2 Interface