Method LinkToVariable
LinkToVariable(SlotRef, string)
Marks a slot as forwarding to a named variable instead of using its original upstream slot directly.
public void LinkToVariable(SlotRef slotRef, string varName)
Parameters
slotRefSlotRefThe slot whose data source should resolve through a named variable.
varNamestringThe registered variable name to resolve at read time.
Remarks
This indirection is used by the Get/Set Variable node pair and by bypassed nodes that preserve a pass-through connection through the variable system.
Exceptions
- ArgumentException
Thrown when
varNameis null or empty.