MindFusion.Charting for JavaScript Programmer's Guide
IEnumerable Class
Remarks 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

Represents an array of arbitrary objects.

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

## Syntax

JavaScript Copy Code
// class IEnumerable.prototype = {}

## Remarks

You are not expected to create directly IEnumerable instances. Instead, derive from it or initialize one of the derived calsses: List, ObservableCollection etc.

## Example

The following sample creates a new instance of the Menu class and adss one MenuItem to it. The items collection of the Menu class derives from IEnumerable.

JavaScript Copy Code
var menu = new ui.Menu(document.getElementById("links")); menu.loadOnDemand = true; var menuItem = new ui.MenuItem("Start", "index.html"); menuItem.target = "_blank"; menu.items.add(menuItem);

## Inheritance Hierarchy

MindFusion.Common.Collections.IEnumerable
MindFusion.Common.Collections.List

## See Also

IEnumerable Members
MindFusion.Common.Collections Namespace