Partager via


IMetaDataEmit::SetMethodProps Method

Sets or updates the feature, stored at the specified relative virtual address, of a method defined by a prior call to IMetaDataEmit::DefineMethod Method.

HRESULT SetMethodProps ( 
    [in]  mdMethodDef md, 
        [in]  DWORD       dwMethodFlags,
    [in]  ULONG       ulCodeRVA, 
    [in]  DWORD       dwImplFlags 
);

Parameters

Parameter Description

md

[in] The token for the method to be changed.

dwMethodFlags

[in] The member attributes.

ulCodeRVA

[in] The address of the code.

dwImplFlags

[in] The implementation flags for the method.

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

Reference

IMetaDataEmit Interface
IMetaDataEmit2 Interface