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.

CSimpleArray::SetAtIndex

 

Set the specified element in the array.


      BOOL SetAtIndex(
   int nIndex,
   const T& t 
);

nIndex

The index of the element to change.

t

The value to assign to the specified element.

Returns TRUE if successful, FALSE if the index was not valid.

Requirements

Header: atlsimpcoll.h

Show: