ICorDebugSymbolProvider::GetMethodParameterSymbols 方法

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

語法

HRESULT GetMethodParameterSymbols(  
   [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

另請參閱