MindFusion.Charting for JavaScript Programmer's Guide
IEnumerable.items Method
See Also
 






Gets the collection as an array.

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

 Syntax

JavaScript  Copy Code

function items ()

 Return Value

Type: Array
Array. The underlying array data structure of the collection.

 Example

The following code checks if the items of a ListView before the collection was changed are more than 5:

JavaScript  Copy Code

function listSelectionChanged(sender, args)
{

     if( args.oldItems.items().count() > 5)
     {
             //do something
     }
}

 See Also

IEnumerable Members
IEnumerable Class
MindFusion.Common.Collections Namespace