[Overview][Classes][Procedures and functions][Index] |
Provides indexed access to methods in the list.
Source position: lazmethodlist.pas line 63
public property TMethodList.Items[Index: Integer] : TMethod |
Items is a TMethod property that provides indexed access to methods in the list by the ordinal position specified in Index. The TMethod instance contains the Data (object reference) and Code (pointer to the method) store in the list items.
Reading a value in the Items property accesses the block of memory stored in an internal member at the position in Index. When Writing a value in the Items property, the value in AllowDuplicates is used to determine if duplicates of the TMethod value are allowed in the list. When AllowDuplicates is False, an EListError exception is raised for the error condition. The IndexOf method is called to determine if the method already exists in Items.
Items is the default property in TMethodList and provides support for enumerators using the GetEnumerator and GetReversedEnumerator methods.
Raises an EListError exception when a duplicate value is detected in the Items property.
|
Indicates if duplicate methods are allowed in the list. |
|
|
Gets the position where the specified method is stored in the list. |
|
|
Gets an enumerator for the list. |
|
|
Gets an enumerator for the list that navigates in reverse order. |
|
Version 4.0 | Generated 2025-05-03 | Home |