MapContainer Generic Class
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
MapContainers provide most of the Map operations, and are a wrapper for Map. An important difference is that a MapContainer is mutable, while a Map is immutable. Since MapContainer is a mutable type, equality is determined by equality of object reference. MapContainers do not directly support LINQ expressions, as transforming a container would result in a new object reference.
To transform the content of a MapContainer using a LINQ query, use Transform, which works on the map value contained in the MapContainer.
This type is implemented as a wrapper around an instance of the Map that actually creates a new instance of Map and updates a reference as if the original Map instance had been changed.
It replicates the interfaces of Map, but slightly changes the signature.
Most methods returning a collection in Map are of type void because they modify the receiver instead of returning a new instance.
Development Platforms
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003