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