PairTFirst, TSecond Conversion (PairTFirst, TSecond to KeyValuePairTFirst, TSecond) |
Converts a Pair to a KeyValuePair. The Key part of the KeyValuePair gets
the First element, and the Value part of the KeyValuePair gets the Second
elements.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static explicit operator KeyValuePair<TFirst, TSecond> (
Pair<TFirst, TSecond> pair
)
static explicit operator KeyValuePair<TFirst, TSecond> (
Pair<TFirst, TSecond> pair
)
Parameters
- pair
- Type: X3Platform.CollectionsPairTFirst, TSecond
Pair to convert.
Return Value
Type:
KeyValuePairTFirst,
TSecondThe KeyValuePair created from
pair.
See Also