TNamedCollection class
Collection class for managing named items
Declaration
TNamedCollection = class(TCollection)Inheritance
- TNamedCollection
- TCollection
- TPersistent
- TObject
Descends from it: TCommands TPackages TPackageVariants TSources TTargets
Description
Generic collection class that manages a list of TNamedItem objects. Provides name-based lookup functionality and ensures unique naming within the collection.
Properties
UniqueNames | public | Controls whether item names must be unique |
Items | public | Indexed access to collection items |
Methods
IndexOfName | public | Find index of item by name |
ItemByName | public | Get item by name |
Inherited
From TCollection (30)
Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
