ASP.NET Pack Programmer's Guide
Dictionary Class
See Also
 





Represents a collection of keys and values.

Namespace: MindFusion.Mapping
Package: Dictionary.js

 Syntax

JavaScript  Copy Code

// class
Dictionary.prototype = {}

 Example

The following code creates a new Dictionary with three LatLong instances and the keys the names of the cities they belong to:

JavaScript  Copy Code

var m = MindFusion.Mapping;

var locations = new m.Dictionary();
locations.set("Paris", new m.LatLong(-22.951916, -43.210487));
locations.set("Sidney", new m.LatLong(40.284218, -84.155502));
locations.set("Lima", new m.LatLong(-12.046373, -77.042755));

 Inheritance Hierarchy

MindFusion.Mapping.Dictionary

 See Also

Dictionary Members
MindFusion.Mapping Namespace