SdtListItemCollection module

class SdtListItemCollection.SdtListItemCollection

Bases: IEnumerable

Represents a collection of SdtListItem objects.

Add(item: SdtListItem)

Adds an item to the collection.

Clear()

Removes all items from the collection.

property Count: int

Gets the number of items in the collection.

GetEnumerator() IEnumerator

Returns an enumerator that iterates through the collection.

RemoveAt(index: int)

Removes the item at the specified index.

property SelectedValue: SdtListItem

Gets or sets the selected value from the collection.

get_Item(index: int) SdtListItem

Gets the item at the specified index.