C++ C#

RemoveAssociation(AssociationType, Item) Method

Class: Item

Removes the association of this Item with another

public void RemoveAssociation(AssociationType associationType, Item item)

Parameters

Type Name Description
AssociationType associationType The AssociationType
Item item The other Item

Returns: void

Exceptions

Type Description
AssociationDoesNotExist Association does not exist
InvalidAssociateForItem Association of this type cannot be created between these Items
InvalidAssociationTypeForItem AssociationType is invalid for an Item of this type