MapContainer Members
Contains a map. A MapContainer wraps a map value, to provide a mutable version of Map. The Map type itself is immutable. See Map for more details on the Map type.
The following tables list the members exposed by the MapContainer type.
Public Constructors
Name | Description | |
---|---|---|
MapContainer | Overloaded. |
Top
Public Properties
Name | Description | |
---|---|---|
Count | Return the number of elements in the MapContainer. | |
IsReadOnly | Always returns false. | |
Item | Get or set (override) key mapping. | |
Keys | Return an enumeration of the keys in the MapContainer. | |
Values | Return an enumeration of the values in the MapContainer. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Add | Overloaded. | |
Clear | Not supported. | |
Contains | Tests for membership of a particular KeyValuePair pair. | |
ContainsKey | Determine whether a given key is defined in the MapContainer. | |
CopyTo | Copies the contents of the MapContainer into the specified array. | |
Equals | (Inherited from Object) | |
GetEnumerator | Get an enumeration of the KeyValuePair pairs in the MapContainer. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
Override | Overloaded. | |
Remove | Overloaded. | |
ToArray | Deliver a new array containing the KeyValuePair pairs in the MapContainer. | |
ToMap | Deliver a map value with the content of this map container. | |
ToString | Overridden. Convert MapContainer to a readable representation. | |
Transform | Perform a transformation of the content of the container. This is used for example together with LINQ query expressions, as in sc.Transform(m => from x in m where x.Key > 0 select x) . |
|
TryGetValue | TryGet the key's value from the MapContainer. |
Top
Protected Methods
(see also Extension Methods)
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |
Top
Extension Methods
Name | Description | |
---|---|---|
Exists | Indicates whether a predicate is true for at least one element of a collection. (Defined by LogicalOperations.) | |
Forall | Indicates whether a predicate is true for all elements of a collection. (Defined by LogicalOperations.) |
Top
See Also
Reference
MapContainer Generic Class
Microsoft.Modeling Namespace
Map Generic Class