共用方式為


ICorDebugSymbolProvider::GetMethodLocalSymbols 方法

提供方法的相對虛擬位址 (RVA),取得該方法的本機符號。

語法

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。

需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework 版本: 僅適用於 4.6、.NET Native

另請參閱