Share via


FromKeyValuePairs 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.]

Returns a collection of edges from a collection of key-value pairs of labels and nodes.

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

Syntax

'Declaration
PublicSharedFunctionFromKeyValuePairs ( _
    pairsAsIEnumerable(OfKeyValuePair(OfLabel, Node)) _
) AsIEnumerable(OfEdge)
'Usage
DimpairsAsIEnumerable(OfKeyValuePair(OfLabel, Node))
DimreturnValueAsIEnumerable(OfEdge)

returnValue = Edge.FromKeyValuePairs(pairs)
publicstaticIEnumerable<Edge> FromKeyValuePairs(
    IEnumerable<KeyValuePair<Label, Node>> pairs
)
public:
staticIEnumerable<Edge>^ FromKeyValuePairs(
    IEnumerable<KeyValuePair<Label^, Node>>^ pairs
)
publicstaticfunctionFromKeyValuePairs(
    pairs : IEnumerable<KeyValuePair<Label, Node>>
) : IEnumerable<Edge>

Parameters

Return Value

Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'Edge> ) > ) >
A collection of edges.

.NET Framework Security

See Also

Reference

Edge Structure

Edge Members

System.Dataflow Namespace