ImmutableArray<T>.IImmutableList<T>.Remove 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.
Returns an array with the first occurrence of the specified element removed from the array; if no match is found, the current array is returned.
virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer) = System::Collections::Immutable::IImmutableList<T>::Remove;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Remove (T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
abstract member System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).Remove
Parameters
- value
- T
The value to remove from the array.
- equalityComparer
- IEqualityComparer<T>
The equality comparer to use in the search.
Returns
A new array with the value removed.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET