ReadOnlyCollection<T>.IList.Clear メソッド

定義

IListからすべての項目を削除します。 この実装では、常に NotSupportedExceptionがスローされます。

 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

実装

例外

常にスローされます。

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ReadOnlyCollection<T> インスタンスがIList インターフェイスにキャストされている場合にのみ使用できます。

適用対象