Array.IList.Clear 方法

定义

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

实现

异常

IList 为只读。The IList is read-only.

注解

此成员是显式接口成员实现。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.

适用于