Removes all items from the ICollection`1.
TypeReasonNotSupportedExceptionThe current collection is read-only.
ICollection`1.Count must be set to 0, and references to other objects from elements of the collection must be released.