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
- pairs
Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'KeyValuePair< (Of < ( <'Label, Node> ) > ) >> ) > ) >
The collection of key-value pairs of labels and nodes. .
Return Value
Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'Edge> ) > ) >
A collection of edges.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).