Pair<(Of <(<'TFirst, TSecond>)>)> ExplicitNarrowingExplicitExplicitExplicit Conversion (Pair to KeyValuePair)
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:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public static explicit operator KeyValuePair<TFirst, TSecond> ( Pair<TFirst, TSecond> pair )
Public Shared Narrowing Operator CType ( _ pair As Pair(Of TFirst, TSecond) _ ) As KeyValuePair(Of TFirst, TSecond)
static explicit operator KeyValuePair<TFirst, TSecond>^ ( Pair<TFirst, TSecond>^ pair )
Parameters
- pair
- Type: Wintellect.PowerCollections..::..Pair<(Of <(<'TFirst, TSecond>)>)>
Pair to convert.