insertToListAtIndex

fun insertToListAtIndex(viewModelInstanceHandle: ViewModelInstanceHandle, propertyPath: String, index: Int, itemHandle: ViewModelInstanceHandle)

Inserts a view model instance into a list property at the specified index.

Parameters

viewModelInstanceHandle

The handle of the view model instance that owns the list property.

propertyPath

The path to the list property. Slash delimited.

index

The index at which to insert the item.

itemHandle

The handle of the view model instance to insert into the list.

Throws

If the CommandQueue has been released.