IList.Clear Method

ReadOnlyCollection(Of T).IList.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 IList. This implementation always throws NotSupportedException.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Private Sub Clear Implements IList.Clear

Implements

IList.Clear

ExceptionCondition
NotSupportedException

Always thrown.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft