Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

Pair<(Of <(<'TFirst, TSecond>)>)> ExplicitNarrowingExplicitExplicitExplicit Conversion (KeyValuePair to Pair)

Converts a KeyValuePair structure into a Pair. The First element gets the Key, and the Second element gets the Value.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public static explicit operator Pair<TFirst, TSecond> (
	KeyValuePair<TFirst, TSecond> keyAndValue
)
Public Shared Narrowing Operator CType ( _
	keyAndValue As KeyValuePair(Of TFirst, TSecond) _
) As Pair(Of TFirst, TSecond)
static explicit operator Pair<TFirst, TSecond>^ (
	KeyValuePair<TFirst, TSecond>^ keyAndValue
)

Parameters

keyAndValue
Type: KeyValuePair<(Of <(<'TFirst, TSecond>)>)>
The KeyValuePair to convert.

Return Value

The Pair created by converted the KeyValuePair into a Pair.