ImmutableSortedSet<T>.Builder.ICollection<T>.Add(T) 方法

定義

將項目加入目前的資料集,並傳回表示是否已成功加入項目的值。

 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

要加入至集合的項目。

實作

備註

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

適用於