Array.IList.Clear Array.IList.Clear Array.IList.Clear Method

定义

IList 中移除所有项。Removes all items from the IList.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
Sub Clear () Implements IList.Clear

实现

异常

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Array 实例被强制转换为 IList 接口时使用。It can be used only when the Array instance is cast to an IList interface.

适用于