Share via


IList.Clear Method

When implemented by a class, this method removes all objects from the IList collection.

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

Syntax

public void Clear ()

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IList Interface
IList Members
System.Collections Namespace