Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
COleServerDoc::GetNextItem
COleServerDoc                               Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual COleServerItem* GetNextItem( POSITION& <rPosition> ) = 0;
 
  Parameter   Description
 
  <rPosition> A reference to an iterator position; starts as NULL and is
              updated as the iteration progresses.
 
  Remarks
 
  You must implement this virtual callback function to iterate over the
  items in your document, even if there is only one.
 
  Return Value
 
  A pointer to the next server item; NULL if the iteration is complete or
  if there are no items.
 
 
                                     -♦-