IImmutableSet<T>.Remove(T) 方法

定義

從這個不可變的資料集中移除指定的項目。Removes the specified element from this immutable set.

public:
 System::Collections::Immutable::IImmutableSet<T> ^ Remove(T value);
public System.Collections.Immutable.IImmutableSet<T> Remove (T value);
abstract member Remove : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Public Function Remove (value As T) As IImmutableSet(Of T)

參數

value
T

要移除的項目。The element to remove.

傳回

已移除之指定項目的新資料集,如果資料集中找不到該項目,則為目前的資料集。A new set with the specified element removed, or the current set if the element cannot be found in the set.

適用於