Share via


Visual Basic: Windows Controls

ComboItems Collection

See Also    Example    Properties    Methods    Events

The ComboItems collection contains all the ComboItem objects in an ImageCombo control.

Syntax

object.ComboItems(index)

The ComboItems collection syntax has these parts:

Part Description
object An object expression that evaluates to an ImageCombo control.
index An integer or string that uniquely identifies a member of an object collection. An integer is the value of the Index property; a string is the value of the Key property.

Remarks

The ComboItems collection is a 1-based collection of ComboItem objects.

The order in which ComboItem objects occur within the ComboItems collection is the same as their visible position within the list portion of the control. A ComboItem object's position within the collection is indicated by its Index property.