CFileItemList Clear is a method used to remove all the items from a list. This method is a part of the MFC (Microsoft Foundation Class) library and is used mainly in C++ programming language.
Code Example:
CFileItemList list; list.Add("Item 1"); list.Add("Item 2"); list.Add("Item 3"); list.Clear(); // removes all the items from the list
In the code example above, we create a CFileItemList object and then add three items to it. Using the Clear method, we then remove all the items from the list.
Package Library:
The package library used for CFileItemList Clear is the Microsoft Foundation Class (MFC) library. This library provides a collection of classes and functions to support the development of Windows-based applications in C++. The MFC library includes classes for GUI, networking, file input/output, database access, and more.
C++ (Cpp) CFileItemList::Clear - 30 examples found. These are the top rated real world C++ (Cpp) examples of CFileItemList::Clear extracted from open source projects. You can rate examples to help us improve the quality of examples.