Collection.IList.Clear Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes all items from the Collection object. Implements the IList interface.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

void IList.Clear()

Implements

IList.Clear()

Exception Condition
NotSupportedException

The IList is read-only.

This method removes all items from the Collection object.

Return to top
Show: