ImmutableDictionary<TKey,TValue>.Builder.Remove 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Remove(KeyValuePair<TKey,TValue>) | 从不可变字典中移除特定对象的第一个匹配项。 | 
| Remove(TKey) | 从不可变字典中移除具有指定键的元素。 | 
Remove(KeyValuePair<TKey,TValue>)
从不可变字典中移除特定对象的第一个匹配项。
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> -> boolPublic Function Remove (item As KeyValuePair(Of TKey, TValue)) As Boolean参数
要从字典中移除的对象。
返回
如果从字典中成功移除了 item,则为 true;否则为 false。 如果在字典中未找到 item,此方法也会返回 false。
实现
例外
字典为只读。
适用于
Remove(TKey)
从不可变字典中移除具有指定键的元素。
public:
 virtual bool Remove(TKey key);public bool Remove (TKey key);abstract member Remove : 'Key -> bool
override this.Remove : 'Key -> boolPublic Function Remove (key As TKey) As Boolean参数
- key
- TKey
要移除的元素的键。
返回
如果该元素已成功移除,则为 true;否则为 false。  如果在字典中未找到 key,此方法也会返回 false。
实现
例外
              key 为 null。
字典为只读。