Represents a key/value pair. Very similar to KeyValuePair, but adds a few more methods.
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
Type Parameters
- T1
- The type of the key
- T2
- The type of the value
The PairT1, T2 type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PairT1, T2 |
Initializes an instance of this key-value Pair structure.
|
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
| Equals(PairT1, T2) |
Determines whether this instance and another Pair are equal.
| |
| Equals(PairT1, T2, PairT1, T2) |
Determines whether two specified Pairs are equal.
| |
| GetHashCode |
Returns the hash code of the current Pair.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a string that represents the current Pair.
(Overrides ValueTypeToString.) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Determines whether two specified Pairs are equal.
| |
| Inequality |
Determines whether two specified Pairs are not equal.
|
Properties
| Name | Description | |
|---|---|---|
| Key |
Gets the key in the key-value pair.
| |
| Value |
Gets the value in the key-value pair.
|
See Also