共用方式為


ISymUnmanagedENCUpdate::GetLocalVariables 方法

更新:2007 年 11 月

取得區域變數。

HRESULT GetLocalVariables(
    [in]  mdMethodDef  mdMethodToken,
    [in]  ULONG        cLocals,
    [out, size_is(cLocals), length_is(*pceltFetched)]
        ISymUnmanagedVariable *rgLocals[],
    [out] ULONG        *pceltFetched);

參數

  • mdMethodToken
    [in] 方法的中繼資料語彙基元。

  • cLocals
    [in] ULONG,表示 rgLocals 參數的大小。

  • rgLocals
    [out] 傳回的 ISymUnmanagedVariable 執行個體陣列。

  • pceltFetched
    [out] ULONG 的指標,此 ULONG 會接收包含區域變數所需的 rgLocals 緩衝區大小。

傳回值

如果此方法成功則為 S_OK,否則便為 E_FAIL 或其他錯誤碼。

需求

Header: CorSym.idl

請參閱

參考

ISymUnmanagedENCUpdate