IList<TValue>.clear IList<TValue>.clear IList<TValue>.clear IList<TValue>.clear Method

Definition

Removes all elements from the container.

public:
 void clear();
public void clear ();
abstract member clear : unit -> unit
Public Sub clear ()

Remarks

For more information, see list::clear (STL/CLR).

Applies to