Edit

Share 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.

Syntax

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 mdMemberRef token of the code body.

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

Requirements

Platforms: See .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also