System.Classes.TCollection.NextID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NextID: Integer read FNextID;

C++

__property int NextID = {read=FNextID, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Specifies a unique ID that can be assigned to the next added collection item.

TCollection uses NextID internally to assign unique identifiers to collection items. When a new item is added to the collection, its ID property is given the value of NextID and NextID is incremented.

See Also