C++ C#

AddAssociate(ItemType^, String^, String^, String^) Method

API Reference

Namespace: Semata.DataStore

Class: AssociationType

Adds another ItemType to the set defined by this AssociationType

public:
AssociationType^ AddAssociate(ItemType^ associateItemType, String^ associateName, String^ associateDescription, String^ associateAnnotation)

Parameters

Type Name Description
ItemType^ associateItemType The ItemType associated ItemType
String^ associateName Name of the AssociationType from the associated ItemType
String^ associateDescription Description of the AssociationType from the associated ItemType
String^ associateAnnotation Annotation of the AssociationType from the associated ItemType

Returns: AssociationType^

Errors

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

HResult Message
0x3905 AssociationType with this name exists
0x3904 AttributeType with this name exists

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.