Class InsertListItem
Inserts an item in a list at a specified index.
Inheritance
InsertListItem
Syntax
[UnitCategory("Collections/Lists")]
[UnitSurtitle("List")]
[UnitShortTitle("Insert Item")]
[UnitOrder(3)]
[TypeIcon(typeof(AddListItem))]
public sealed class InsertListItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
enter
The entry point for the node.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
exit
The action to execute once the item has been inserted.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
index
The zero-based index at which to insert the item.
Declaration
[DoNotSerialize]
public ValueInput index { get; }
Property Value
item
Declaration
[DoNotSerialize]
public ValueInput item { get; }
Property Value
Declaration
[DoNotSerialize]
[PortLabel("List")]
public ValueInput listInput { get; }
Property Value
listOutput
The list with the added element.
Note that the input list is modified directly and then returned,
except if it is an array, in which case a new array with
the added element is returned instead.
Declaration
[DoNotSerialize]
[PortLabel("List")]
public ValueOutput listOutput { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Insert(Flow)
Declaration
public ControlOutput Insert(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Extension Methods