GroupCollection.IList.Clear 方法

定義

呼叫這個方法一律會擲回 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

實作

例外狀況

不支援這個方法。 此為唯讀集合。

備註

這個成員是明確介面成員實作, 只有在 GroupCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於