ICorDebugSymbolProvider::GetMethodLocalSymbols 方法

获取给定该方法的相对虚拟地址(RVA)的方法的本地符号。

Syntax

HRESULT GetMethodLocalSymbols(
   [in] ULONG32 nativeRVA,
   [in] ULONG32 cRequestedSymbols,
   [out] ULONG32 *pcFetchedSymbols,
   [out, size_is(cRequestedSymbols), length_is(*pcFetchedSymbols)] ICorDebugVariableSymbol *pSymbols[]
);

参数

nativeRVA [in]方法的本机相对虚拟地址。

cRequestedSymbols [in]请求的本地符号数。

pcFetchedSymbols [out]指向方法检索的符号数的指针。

pcFetchedSymbols [out]指向包含方法本地符号的 ICorDebugVariableSymbol 数组的指针。

注解

注释

此方法仅适用于 .NET Native。

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 4.6 起可用

另请参阅