語言

ImmutableArray<T>.ICollection<T>.Clear 方法

定義

所有情況都是拋擲 NotSupportedException 。

 virtual void System.Collections.Generic.ICollection<T>.Clear() = System::Collections::Generic::ICollection<T>::Clear;
void ICollection<T>.Clear();
abstract member System.Collections.Generic.ICollection<T>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<T>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of T).Clear

實作

備註

此成員為明確介面成員實作。 它只能在實 ImmutableArray<T> 例投射到 ICollection<T> 介面時使用。

適用於