Operator
Pair
:
Description
The ":" is used to assign values to the Left and Right properties of a Pair in a Var statement.
Usage
Var p As Pair = value1 : value2 [ : value3 :... valueN ]
Part |
Type |
Description |
---|---|---|
p |
The Pair instance that contains the assigned Left and Right values. |
|
value1 |
The value of the Left property in the Pair. |
|
value2 |
The value of the Right property in the Pair. |
|
value 3...N |
Optional values, used to create a singly-linked list among pairs. |
Notes
The syntax for the Pair declaration requires that the Left and Right properties be passed in this manner.