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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.