C++ C#

AddAssociation(AssociationType, Item) Method

Class: Item

Associates this Item with another

public void AddAssociation(AssociationType associationType, Item item)


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

Returns: void


Type Description
AssociationAlreadyExists Association already exists
InvalidAssociateForItem Association of this type cannot be created between these Items
InvalidAssociationTypeForItem AssociationType is invalid for an Item of this type