ImmutableArray<T>.ICollection<T>.Add(T) 方法

定義

在所有情況下都會擲回 NotSupportedException

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

參數

item
T

要加入陣列結尾處的項目。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableArray<T> 執行個體轉換成 ICollection<T> 介面時,才能使用這個成員。

適用於