ICollection<T>.Clear Method
Silverlight
Removes all items from the ICollection<T>.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<T> is read-only. |
Count must be set to 0, and references to other objects from elements of the collection must be released.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: