Edit

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

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 .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also