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.

Syntax

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

Parameters

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: See System Requirements.

Header: Cor.h

Library: Used as a resource in MSCorEE.dll

.NET Framework Versions: Available since 1.0

See Also

IMetaDataEmit Interface
IMetaDataEmit2 Interface