PairTFirst, TSecond Conversion (KeyValuePairTFirst, TSecond to PairTFirst, TSecond) |
Converts a KeyValuePair structure into a Pair. The
First element gets the Key, and the Second element gets the Value.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static explicit operator Pair<TFirst, TSecond> (
KeyValuePair<TFirst, TSecond> keyAndValue
)
static explicit operator Pair<TFirst, TSecond> (
KeyValuePair<TFirst, TSecond> keyAndValue
)
Parameters
- keyAndValue
- Type: System.Collections.GenericKeyValuePairTFirst, TSecond
The KeyValuePair to convert.
Return Value
Type:
PairTFirst,
TSecondThe Pair created by converted the KeyValuePair into a Pair.
See Also