Clear

Clear(IList, ListInstanceType)

public IList Clear(IList instance, ListInstanceType instanceType) ;

Description

Remove all elements.

Parameters

Parameter Name Description
instance Instance of type IList<elementType>
instanceType How to change the instance

Returns

The resulting instance of the change