ImmutableArray<T>.Remove 메서드

정의

오버로드

Remove(T)

첫 번째로 나타나는 지정된 요소가 제거된 배열을 반환합니다. 일치하는 항목이 없는 경우 현재 배열이 반환됩니다.

Remove(T, IEqualityComparer<T>)

첫 번째로 나타나는 지정된 요소가 제거된 배열을 반환합니다.

일치하는 항목이 없는 경우 현재 배열이 반환됩니다.

Remove(T)

첫 번째로 나타나는 지정된 요소가 제거된 배열을 반환합니다. 일치하는 항목이 없는 경우 현재 배열이 반환됩니다.

public:
 System::Collections::Immutable::ImmutableArray<T> Remove(T item);
public System.Collections.Immutable.ImmutableArray<T> Remove (T item);
member this.Remove : 'T -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Remove (item As T) As ImmutableArray(Of T)

매개 변수

item
T

제거할 항목입니다.

반환

ImmutableArray<T>

항목이 제거된 새 배열입니다.

적용 대상

Remove(T, IEqualityComparer<T>)

첫 번째로 나타나는 지정된 요소가 제거된 배열을 반환합니다.

일치하는 항목이 없는 경우 현재 배열이 반환됩니다.

public:
 System::Collections::Immutable::ImmutableArray<T> Remove(T item, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableArray<T> Remove (T item, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.ImmutableArray<T> Remove (T item, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Remove (item As T, equalityComparer As IEqualityComparer(Of T)) As ImmutableArray(Of T)

매개 변수

item
T

제거할 항목입니다.

equalityComparer
IEqualityComparer<T>

검색에서 사용할 같음 비교자입니다.

반환

ImmutableArray<T>

지정된 항목이 제거된 새 배열입니다.

적용 대상