Partilhar via


IMetaDataEmit::DefineMethodImpl Method

Creates a definition for implementation of a method inherited from an interface, and returns a token to that method-implementation definition.

HRESULT DefineMethodImpl ( 
    [in]  mdTypeDef         td, 
    [in]  mdToken           tkBody, 
    [in]  mdToken           tkDecl
);

Parameters

  • td
    [in] The mdTypedef token of the implementing class.

  • tkBody
    [in] The mdMethodDef or mdMethodRef token of the code body.

  • tkDecl
    [in] The mdMethodDef or mdMethodRef token of the interface method being implemented.

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

IMetaDataEmit Interface

IMetaDataEmit2 Interface