Share via


ToKeyValuePairs Method

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Represents a collection of edges as an enumerable collection of key/value pairs, with the label as the key and the target node as the value.

Namespace:  System.Dataflow
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicSharedFunctionToKeyValuePairs ( _
    edgesAsIEnumerable(OfEdge) _
) AsIEnumerable(OfKeyValuePair(OfLabel, Node))
'Usage
DimedgesAsIEnumerable(OfEdge)
DimreturnValueAsIEnumerable(OfKeyValuePair(OfLabel, Node))

returnValue = Edge.ToKeyValuePairs(edges)
publicstaticIEnumerable<KeyValuePair<Label, Node>> ToKeyValuePairs(
    IEnumerable<Edge> edges
)
public:
staticIEnumerable<KeyValuePair<Label^, Node>>^ ToKeyValuePairs(
    IEnumerable<Edge>^ edges
)
publicstaticfunctionToKeyValuePairs(
    edges : IEnumerable<Edge>
) : IEnumerable<KeyValuePair<Label, Node>>

Parameters

Return Value

Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'KeyValuePair< (Of < ( <'Label, Node> ) > ) >> ) > ) >
A collection of key-value pairs, with the label as the key and the target node as the value.

.NET Framework Security

See Also

Reference

Edge Structure

Edge Members

System.Dataflow Namespace