TListItems.GetEnumerator function
Gets an enumerator for the list items in the container.
Declaration
function GetEnumerator: TListItemsEnumeratorFunction result
TListItemsEnumerator instance used to access the list item values in the container.
Description
GetEnumerator is a
TListItemsEnumerator function which
returns an enumerator for the TListItem instances in the indexed Item
property. It creates the TListItemsEnumerator instance in the return value
using the current class instance as the container with the enumerated values.
The enumerator returned from the method is not pre-positioned on the first
list item. Call the MoveNext method in the enumerator prior to accessing its
Current property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
