Map Members
Contains a map, which is an unordered collection mapping keys to elements. Map values are immutable. See MapContainer for a mutable version of Map.
The following tables list the members exposed by the Map type.
Public Constructors
Name | Description | |
---|---|---|
Map | Overloaded. Creates a map value from a IEnumerable of KeyValuePair types. |
Top
Public Fields
Name | Description | |
---|---|---|
Rep | Supports the infrastructure. Do not use. |
Top
Public Properties
Name | Description | |
---|---|---|
Count | Return the number of elements in the map. | |
IsReadOnly | Always returns true. | |
Item | Get the value associated with a key. | |
Keys | Get the enumeration of keys in the map. | |
Values | Get the enumeration of values in the map. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Add | Overloaded. | |
Clear | Not supported. | |
Contains | Test for membership of a key with the given value. | |
ContainsKey | Determine whether a key is defined in the map. | |
CopyTo | Copy contents of map into array. | |
Equals | Overridden. Determines whether the specified compound value is equal to the current compound value. (Inherited from Object) | |
GetEnumerator | Get enumeration of key-value pairs in the map. | |
GetHashCode | Overridden. Serves as a consistent hash function for a compound value type. (Inherited from Object) | |
GetType | (Inherited from Object) | |
GroupBy | Overloaded. | |
GroupJoin | Perform a grouped join of two maps based on matching keys extracted from the elements. | |
Join | Perform an inner join of two maps based on matching key extracted from the elements. | |
OrderBy | Orders a map according to key in ascending order. | |
OrderByDescending | Orders a map according to key in descending order. | |
Override | Overloaded. | |
Remove | Overloaded. | |
Select | Perform a projection over a map. | |
SelectMany | Perform a one to many element projection over a map. | |
ToArray | Deliver a new array containing elements of map. | |
ToString | Overridden. Convert map value to a readable representation. | |
TryGetValue | TryGet the key's value from the map. | |
Where | Filter a map based on predicate. |
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