Search
IEnumerable.clear Method
See Also
 






Clears the collection.

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

 Syntax

JavaScript  Copy Code

function clear ()

 Example

The following example clears all items from a TreeNode element. The items property of TreeNode is of type IEnumerable.

JavaScript  Copy Code
rootElement.items.clear();

 See Also