Enum CollectionConflictPolicy
Specifies what to do when adding an item to a collection, if an equivalent item (e.g. same name) already exists in the collection.
Namespace: ABB.Robotics.RobotStudio
Assembly: ABB.Robotics.RobotStudio.dll
Syntax
public enum CollectionConflictPolicy
Fields
Name | Description |
---|---|
KeepBoth | Keep the existing item and add the new item. This is the default behavior. |
KeepExisting | Keep the existing item and don't add the new item. |
ReplaceExisting | Replace the existing item with the new item. |
ThrowException | Throw an ArgumentException |