C++ C#

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

Class: AssociationType

Adds another ItemType to the set defined by this AssociationType

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

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

Returns: AssociationType^

Exceptions

Type Description
AssociationTypeWithThisNameExists AssociationType with this name exists
AttributeTypeWithThisNameExists AttributeType with this name exists
InvalidName Invalid name