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

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 Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMetaDataEmit Interface

IMetaDataEmit2 Interface