HashSet<T>.ICollection<T>.Add Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Adds an item to an ICollection<T> object.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<T> is read-only. |
Show: