ImmutableArray<T>.Builder.Remove 메서드

정의

오버로드

Remove(T)

지정된 요소를 제거합니다.

Remove(T, IEqualityComparer<T>)

작성기에서 지정된 요소의 첫 번째 발생을 제거합니다. 일치하는 항목이 없으면 작성기는 변경되지 않은 상태로 유지됩니다.

Remove(T)

Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs

지정된 요소를 제거합니다.

public:
 virtual bool Remove(T element);
public bool Remove (T element);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Public Function Remove (element As T) As Boolean

매개 변수

element
T

제거할 항목입니다.

반환

element을 찾아 제거했으면 true이고, 그렇지 않으면 false입니다.

구현

적용 대상

Remove(T, IEqualityComparer<T>)

Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs
Source:
ImmutableArray_1.Builder.cs

작성기에서 지정된 요소의 첫 번째 발생을 제거합니다. 일치하는 항목이 없으면 작성기는 변경되지 않은 상태로 유지됩니다.

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

매개 변수

element
T

제거할 요소입니다.

equalityComparer
IEqualityComparer<T>

검색에서 사용할 같음 비교자입니다. null인 경우 Default가 사용됩니다.

반환

컬렉션에서 지정된 요소를 찾아 제거했는지 여부를 나타내는 값입니다.

적용 대상