CodeNamespaceImportCollection.IList.Clear 方法

定义

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

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

实现

注解

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

适用于