IList<TValue>.clear 方法
定义
从容器中移除所有元素。Removes all elements from the container.
public:
void clear();
public void clear ();
abstract member clear : unit -> unit
Public Sub clear ()
注解
有关详细信息,请参阅 list:: clear (STL/CLR) 。For more information, see list::clear (STL/CLR).