Share via


IMetaDataEmit::SetFieldRVA Method

Sets a global variable value for the relative virtual address of the field referenced by the specified token.

HRESULT SetFieldRVA ( 
    [in]  mdFieldDef  fd, 
    [in]  ULONG       ulRVA 
);

Parameters

Parameter Description

fd

[in] The token for the target field.

ulRVA

[in] The address of a code or data area.

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