Gets the relative virtual address (RVA) and the implementation flags of the method or field represented by the specified token.
HRESULT GetRVA (
[in] mdToken tk,
[out] ULONG *pulCodeRVA,
[out] DWORD *pdwImplFlags
[in] A MethodDef or FieldDef metadata token that represents the code object to return the RVA for. If the token is a FieldDef, the field must be a global variable.
[out] A pointer to the relative virtual address of the code object represented by the token.
[out] A pointer to the implementation flags for the method. This value is a bitmask from the CorMethodImpl enumeration. The value of pdwImplFlags is valid only if tk is a MethodDef token.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0