แก้ไข

แชร์ผ่าน


ImmutableHashSet<T>.Builder.ICollection<T>.Add(T) Method

Definition

Adds an item to the hash set.

 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

Parameters

item
T

The object to add to the set.

Implements

Exceptions

The set is read-only.

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T>.Builder instance is cast to an ICollection<T> interface.

Applies to