stringlistcontainer GetAndDeleteItem method
Return to Introduction  Previous page  Next page
Applies to
acStringListContainer component.  

Declaration
function GetAndDeleteItem(Index: Integer): String;  

Description
The GetAndDeleteItem method retreives the string in particular position of the list, then removes it from the list after retreiving. Index gives the position of the string, where 0 is the position of the first string, 1 is the position of the second string, and so on ("Count - 1" is the position of last string in the list).  

See also
Delete, DeleteFirstItem and GetFIFO methods;  
Strings, Names, Values and MaxSize properties;  
OnChange event.