Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all elements from the container.
public: void clear();
public void clear ();
abstract member clear : unit -> unit
Public Sub clear ()
For more information, see list::clear (STL/CLR).