Skip to main content

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

Parameters

NameTypeCommentKind
collectionCNM_CollectionInterfaces.ICollectionThe collection that should be insertedinput

Code

Declaration

METHOD INTERNAL instantInsertCollection :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*The collection that should be inserted*)
collection :CNM_CollectionInterfaces.ICollection;
END_VAR