HasLabel 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.]
Determines whether an outgoing edge from the node has the specified label.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
ProtectedOverridableFunctionHasLabel ( _
nodeAsNode, _
labelAsLabel _
) AsBoolean
'Usage
DimnodeAsNodeDimlabelAsLabelDimreturnValueAsBooleanreturnValue = Me.HasLabel(node, label)
protectedvirtualboolHasLabel(
Nodenode,
Labellabel
)
protected:
virtualboolHasLabel(
Nodenode,
Label^ label
)
protectedfunctionHasLabel(
node : Node,
label : Label
) : boolean
Parameters
- node
Type: System.Dataflow. . :: . .Node
The node.
- label
Type: System.Dataflow. . :: . .Label
The label.
Return Value
Type: System. . :: . .Boolean
true if there is an outgoing edge from the node with the specified label; otherwise false.
.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).