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

Errors

Errors cause a Platform::Exception to be thrown with the following HResult and Message

HResult Message
1101 Association of this type cannot be created between these Items
1100 AssociationType is invalid for an Item of this type