Collection.IList.Clear 方法

定义

从对象中删除所有项 Collection

 virtual void IListClear() = System::Collections::IList::Clear;
void IList.Clear();
abstract member IListClear : unit -> unit
override this.IListClear : unit -> unit
Sub IListClear () Implements IList.Clear

例外

注解

此方法从 Collection 对象中删除所有项。

适用于

另请参阅