IImmutableList<T>.Remove(T, IEqualityComparer<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the first occurrence of a specified object from this immutable list.
public:
System::Collections::Immutable::IImmutableList<T> ^ Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.IImmutableList<T> Remove (T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.IImmutableList<T> Remove (T value, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
abstract member Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Public Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T)
Parameters
- value
- T
The object to remove from the list.
- equalityComparer
- IEqualityComparer<T>
The equality comparer to use to locate value
.
Returns
A new list with the specified object removed.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.