C++ C#

AddAssociationType(String^, String^, ItemType^, String^, String^) Method

Class: ItemType

Creates an Association Definition

public AssociationTypePair^ AddAssociationType(String^ name, String^ description, ItemType^ associateItemType, String^ associateName, String^ associateDescription)

Parameters

Type Name Description
String^ name Name of the AssociationType from this ItemType
String^ description Description of the AssociationType
ItemType^ associateItemType The associated ItemType
String^ associateName Name of the AssociationType from the associated ItemType
String^ associateDescription Description of the AssociationType from the associated ItemType

Returns: AssociationTypePair^

Exceptions

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