C++ C#

AddAssociationByName(String^, Item^) Method

Class: Item

Associates this Item with another

public void AddAssociationByName(String^ name, Item^ item)

Parameters

Type Name Description
String^ name The name of 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
4101 Association type does not exist