Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComSafeArray::MultiDimSetAt

 

Sets the value of an element in a multidimensional array.


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

alIndex

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

T

Specifies the value of the new element.

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

This is a multidimensional version of CComSafeArray::SetAt.

Requirements

Header: atlsafe.h

Show: