Partager via


CComSafeArray::MultiDimGetAt

Retrieves a single element from a multidimensional array.

HRESULT MultiDimGetAt( 
   const LONG * alIndex, 
   T& t  
);

Parameters

  • alIndex
    Pointer to a vector of indexes for each dimension in the array. The leftmost (most significant) dimension is alIndex[0].

  • t
    A reference to the data returned.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArray Class

CComSafeArray::GetAt

CComSafeArray::SetAt

CComSafeArray::MultiDimSetAt