共用方式為


CRecentFileList::operator [ ]

The overloaded subscript ([]) operator returns a single CString specified by the zero-based index in nIndex.

CString& operator[ ](
   int nIndex 
);

Parameters

  • nIndex
    Zero-based index of a CString in a set of CStrings.

Requirements

Header: afxadv.h

See Also

Concepts

CRecentFileList Class

CRecentFileList Members

Hierarchy Chart