次の方法で共有


ICorProfilerInfo2::GetRVAStaticAddress Method

Gets the address of the specified relative virtual address (RVA)-static field.

HRESULT GetRVAStaticAddress(
    [in] ClassID classId,
    [in] mdFieldDef fieldToken,
    [out] void **ppAddress);

Parameters

Parameter Description

classId

[in] The ID of the class containing the requested RVA-static field.

fieldToken

[in] Metadata token for the requested RVA-static field.

ppAddress

[out] A pointer to the address of the RVA-static field.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerInfo Interface
ICorProfilerInfo2 Interface