Dictionary<(Of <(TKey, TValue>)>).ValueCollection.ICollection<(Of <(TValue>)>).Clear Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes all items from the ICollection<(Of <(T>)>). This implementation always throws NotSupportedException.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Syntax
Private Sub Clear Implements ICollection(Of TValue).Clear
void ICollection<TValue>.Clear()
Implements
ICollection<(Of <(T>)>)..::.Clear()()()
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Always thrown. |
Remarks
Count is set to zero, and references to other objects from elements of the collection are also released.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
Dictionary<(Of <(TKey, TValue>)>)..::.ValueCollection Class