RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollection.NextID Property

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

Pascal
property NextID: Integer;
C++
__property int NextID;

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!