ImmutableDictionary<TKey,TValue>.Builder.Remove メソッド

定義

オーバーロード

名前 説明
Remove(KeyValuePair<TKey,TValue>)

変更できないディクショナリから特定のオブジェクトの最初の出現箇所を削除します。

Remove(TKey)

指定したキーを持つ要素を変更できないディクショナリから削除します。

Remove(KeyValuePair<TKey,TValue>)

ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs

変更できないディクショナリから特定のオブジェクトの最初の出現箇所を削除します。

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public bool Remove(System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Remove (item As KeyValuePair(Of TKey, TValue)) As Boolean

パラメーター

item
KeyValuePair<TKey,TValue>

ディクショナリから削除するオブジェクト。

返品

がディクショナリから正常に削除された場合は 2a0/&。それ以外の場合は。 このメソッドは、ディクショナリに item が見つからない場合にも false を返します。

実装

例外

ディクショナリは読み取り専用です。

適用対象

Remove(TKey)

ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs
ソース:
ImmutableDictionary_2.Builder.cs

指定したキーを持つ要素を変更できないディクショナリから削除します。

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

パラメーター

key
TKey

削除する要素のキー。

返品

true 要素が正常に削除された場合。それ以外の場合は false。 このメソッドは、ディクショナリでfalseが見つからなかった場合もkeyを返します。

実装

例外

key が null です。

ディクショナリは読み取り専用です。

適用対象