instantInsertCollection
Short summary
This method inserts all elements of a collection into the tree This takes only one cycle.
Return: SingleExecutionResult.SUCCESS: operation successful
SingleExecutionResult.ERROR: out of memory
SingleExecutionResult.ABORTED: collection to insert wasn't valid
- Return type: CNM_ReturnTypes.SingleExecutionResult
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| collection | CNM_CollectionInterfaces.ICollection | The collection that should be inserted | input |
Code
Declaration
METHOD INTERNAL instantInsertCollection :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*The collection that should be inserted*)
collection :CNM_CollectionInterfaces.ICollection;
END_VAR