C++ C#

AddAssociation(AssociationType, Item) Method

API Reference

Namespace: Semata.DataStore

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


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

HResult Message
0x1102 Association already exists
0x1101 Association of this type cannot be created between these Items
0x1100 AssociationType is invalid for an Item of this type

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.