Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CObArray::ElementAt
CObArray                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CObject*& ElementAt( int nIndex );
 
  Parameter   Description
 
  <nIndex>    An integer index that is greater than or equal to 0 and less
              than or equal to GetUpperBound().
 
  Remarks
 
  Returns a temporary reference to the element pointer within the array.
  It is used to implement the left-side assignment operator for arrays.
 
  NOTE: This is an advanced function that should be used only to implement
        special array operators.
 
  Return Value
 
  A reference to a CObject pointer.
 
  See Also
 
  CObArray::operator []
 
 
                                     -♦-