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::operator

 

Retrieves an element from the array.


      T & operator [](
   LONG lIndex 
) const;
T & operator [](
   int nIndex 
) const;

lIndex, nIndex

The index number of the required element in the array.

Returns the appropriate array element.

Performs a similar function to CComSafeArray::GetAt, however this operator only works with single-dimensional arrays.

Requirements

Header: atlsafe.h

Show: