Clear Method

SortedSet(Of T).Clear Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes all elements from the set.

Namespace:  System.Collections.Generic
Assembly:  System (in System.dll)

'Declaration
Public Overridable Sub Clear

Implements

ICollection(Of T).Clear

This method is an O(n) operation, where n is Count.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft