MindFusion.Charting for JavaScript Programmer's Guide
IEnumerable.items Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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