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

Errors

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

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