GetLabeledEdgeOrDefault 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.]
When overridden in a derived class, gets the target node of the outgoing edge from the current node with the specified label, or if there is no such label, a new node from the default constructor.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
ProtectedOverridableFunctionGetLabeledEdgeOrDefault ( _
nodeAsNode, _
labelAsLabel _
) AsNode
'Usage
DimnodeAsNodeDimlabelAsLabelDimreturnValueAsNodereturnValue = Me.GetLabeledEdgeOrDefault(node, _
label)
protectedvirtualNodeGetLabeledEdgeOrDefault(
Nodenode,
Labellabel
)
protected:
virtualNodeGetLabeledEdgeOrDefault(
Nodenode,
Label^ label
)
protectedfunctionGetLabeledEdgeOrDefault(
node : Node,
label : Label
) : Node
Parameters
- node
Type: System.Dataflow. . :: . .Node
The node.
- label
Type: System.Dataflow. . :: . .Label
The label.
Return Value
Type: System.Dataflow. . :: . .Node
The node that is the target node of the outgoing edge from the current node with the specified label, or if there is no such label, a new node from the default constructor.
.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).