OdsoRecipientDataCollection module

class OdsoRecipientDataCollection.OdsoRecipientDataCollection

Bases: IEnumerable

Represents a collection of OdsoRecipientData objects.

Add(value: OdsoRecipientData) int

Adds an OdsoRecipientData object to the end of the collection.

Parameters:

value – The OdsoRecipientData object to add.

Returns:

The index at which the OdsoRecipientData object was added.

Clear()

Removes all elements from the collection.

property Count: int

Gets the number of elements in the collection.

GetEnumerator() IEnumerator

Returns an enumerator that iterates through the collection.

Returns:

An IEnumerator object that can be used to iterate through the collection.

RemoveAt(index: int)

Removes the OdsoRecipientData object at the specified index.

Parameters:

index – The index of the OdsoRecipientData object to remove.

get_Item(index: int) OdsoRecipientData

Gets the OdsoRecipientData object at the specified index.

Parameters:

index – The index of the OdsoRecipientData object to get.

Returns:

The OdsoRecipientData object at the specified index.

set_Item(index: int, value: OdsoRecipientData)

Sets the OdsoRecipientData object at the specified index.

Parameters:
  • index – The index at which to set the OdsoRecipientData object.

  • value – The OdsoRecipientData object to set.