Collection.IListClear Method 

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

Namespace: Microsoft.VisualBasic

Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

Private Sub IListClear() _
   Implements IList.Clear
private void IListClear();

Exceptions

Exception Description

NotSupportedException

The IList is read-only.

Remarks

This method removes all items from the Collection object.

Version Information

.NET Framework

Supported in: 2.0, 1.1, 1.0

See Also

Reference

Collection
IList
Clear