C++ C#

SetItem(I) Method

Class: Association<D,I,C>

If the item can be associated with a maximum of one Item with this AssociationType, it can be set directly with this method. An error will be thrown if there are more than one association. If it is set to null any association is removed. If it is set to an item, any existing association is removed, and a new association created.

public void SetItem(I itemObject)


Type Name Description
I itemObject

Returns: void