Removes all items from the ICollection<(Of <(T>)>).
| C# | Visual Basic | Visual C++ |
public void Clear()
Public Sub Clear
public: virtual void Clear() sealed
| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<(Of <(T>)>) is read-only. |
| C# | Visual Basic | Visual C++ |
public void Clear()
Public Sub Clear
public: virtual void Clear() sealed
| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<(Of <(T>)>) is read-only. |