Method ICollection<TKey>.Clear ICollection<TKey>.Clear() Not supported. Declaration void ICollection<TKey>.Clear() Implements ICollection<T>.Clear() Exceptions Type Condition NotSupportedException This operation is not supported.