C++ C#

AssociationExists(AssociationType, Item) Method

Class: Item

Is this item associated with another

public bool AssociationExists(AssociationType associationType, Item item)

Parameters

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

Returns: bool

Exceptions

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