getCollection

getCollection(): Collection;

The getCollection method returns the collection attached to the current sheet of a Table control, to the list portion of a ComboBox control, or to a ListBox control by using the listCollection or displayCollection method.

If no collection is attached to the control, null is returned. For a table control, the collection attached to the current sheet is returned.