Click or drag to resize

PairTKey, TValue Structure

Pair of key and value of generic type.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public struct Pair<TKey, TValue>

Type Parameters

TKey
TValue

The PairTKey, TValue type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldKey
Key
Public fieldValue
Value
Top
Remarks
Implemented especially to replace the .NET KeyValuePair, for ease of access and better xml output.
See Also