Pair T1, T2  StructureDryadLINQ documentation
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.1.2.0 (0.1.2.0)
Syntax

[SerializableAttribute]
public struct Pair<T1, T2> : IEquatable<Pair<T1, T2>>
Type Parameters

T1
The type of the key
T2
The type of the value

The Pair T1, T2  type exposes the following members.

Constructors

  NameDescription
Public methodPair T1, T2 
Initializes an instance of this key-value Pair structure.
Top
Methods

  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType Equals(Object).)
Public methodEquals(Pair T1, T2 )
Determines whether this instance and another Pair are equal.
Public methodStatic memberEquals(Pair T1, T2 , Pair T1, T2 )
Determines whether two specified Pairs are equal.
Public methodGetHashCode
Returns the hash code of the current Pair.
(Overrides ValueType GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current Pair.
(Overrides ValueType ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines whether two specified Pairs are equal.
Public operatorStatic memberInequality
Determines whether two specified Pairs are not equal.
Top
Properties

  NameDescription
Public propertyKey
Gets the key in the key-value pair.
Public propertyValue
Gets the value in the key-value pair.
Top
See Also