Passes the whole set to any parameter that can hold one
All 2 scenarios hold
A cell in {curly braces} lists several example values that share one expectation. A scalar parameter expands the row into one invocation per value. A Set parameter receives the whole set as one argument.
A value in a set is a converted value, not the text in the cell. The last two rules say what follows from that. Read them before you write a value set for several spellings of one value.
A row expands only when the set cannot be the value of the parameter. A Set parameter receives the whole set. An Object parameter receives the whole set too, because a Set is assignable to Object. A method with such a parameter runs once, and that one invocation holds every member.
The two input columns hold the same cell. One column binds to an Object parameter and one to a Set parameter. The counts show that the Object parameter receives the set, and not one member of it.
| Scenario | Bound to Object | Bound to Set | Members via Object? | Members via Set? |
|---|---|---|---|---|
| Three members |
|
| 3 | 3 |
| Two members |
|
| 2 | 2 |