Remove

DestinationCollection.Remove method

删除指定的项目。 集合是只读的。总是抛出 NotSupportedException 异常。

public bool Remove(KeyValuePair<string, object> item)
范围类型描述
itemKeyValuePair`2该项目。

例外

例外(健康)状况
NotSupportedException

也可以看看