ICorDebugArrayValue::GetElement メソッド

指定された配列要素の値を取得します。

構文

HRESULT GetElement (  
    [in]  ULONG32          cdim,  
    [in, size_is(cdim), length_is(cdim)]
         ULONG32           indices[],  
    [out] ICorDebugValue   **ppValue  
);  

パラメーター

cdim
[in] この ICorDebugArrayValue オブジェクトの次元数。

この値は、indices 配列のサイズでもあります。それは、そのサイズが ICorDebugArrayValue オブジェクトの次元数と等しいからです。

indices
[in] インデックス値の配列。各インデックス値は、ICorDebugArrayValue オブジェクトの次元内の位置を指定します。

この値は null にしないでください。

ppValue
[out] 指定した要素の値を表す ICorDebugValue オブジェクトのアドレスへのポインター。

必要条件

:システム要件」を参照してください。

ヘッダー: CorDebug.idl、CorDebug.h

ライブラリ: CorGuids.lib

.NET Framework のバージョン: 1.0 以降で使用可能