Represents an array of arbitrary objects.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
RemarksYou are not expected to create directly IEnumerable instances. Instead, derive from it or initialize one of the derived calsses: List, ObservableCollection etc.
ExampleThe 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")); var menuItem = new ui.MenuItem("Start", "index.html"); |
Inheritance HierarchyMindFusion.Common.Collections.IEnumerable
MindFusion.Common.Collections.List
See Also