This documentation is archived and is not being maintained.

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


[in] The mdTypedef token of the implementing class.


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


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

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