Adds an operation to remove all elements from the container that have a subject that matches the
specified prefix.
Declaration Syntax
Parameters
- prefix (String)
- The prefix to match subjects for which elements are to be removed from the container.
Remarks
Operations are processed in the order in which they are added to the container and this affects earlier operations. For example, assume that in the same message you:
- call AddElement() to add a container element with subject /A/1.
- call RemoveElementsWithPrefix with prefix /A.
- call AddElement() to add a container element with subject /A/2
When this sequence has been processed, the container only contains the element /A/2, because /A/1 was removed at step 2.