Collection.IList.Clear Method

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()

ExceptionCondition
NotSupportedException

The IList is read-only.

This method removes all items from the Collection object.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: