Search
IEnumerable.removeAt Method
See Also
 






Removes the element at the given index.

Namespace: MindFusion.Common.Collections
File: IEnumerable.js

 Syntax

JavaScript  Copy Code

function removeAt (index)

 Parameters

index

Number. The index.

 Example

The following code checks if the count of items in a ListView is more than 100 and if yes, removes the first one:

JavaScript  Copy Code
if (listView.items().count()>100)
   listView.items().removeAt(0);

 See Also