RAD Studio VCL Reference
|
Lists the object references.
property Items [Index: Integer]: TScriptItem;
__property TScriptItem Items[int Index];
Use Items to access objects in the list. Items is a zero-based array: The first object is indexed as 0, the second object is indexed as 1, and so forth. You can read or change the value at a specific index, or use Items with the Count property to iterate through the list.
If OwnsObjects is true, reassigning an Items index frees the object that previously occupied that position in the list.
Items can contain nil (Delphi) or NULL (C++) references. To remove nil (Delphi) or NULL (C++) references and reduce the size of the array, call the Pack method.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|