| 
 
Internet Direct (Indy) 
 | 
Adds a string value and an associated object instance to the thread-safe data type.
procedure AddObject(
    const AItem: string; 
    AObject: TObject
);| 
 
Parameters   | 
 
Description   | 
| 
 
AItem   | 
 
String value added to the data type.  | 
| 
 
AObject   | 
 
Object instance added to the data type.   | 
AddObject is a procedure used to add the String in AItem and the object instance in AObject to the items in Value for the thread-safe data type.
AddObject calls Lock to enable resource protection for Value prior to adding the item and object to the thread-safe data type.
Adds calls Unlock to disable resource protection for Value when the item and onbject have been added, or an exception is raised.
Use Add to add a string to the items in the thread-safe data type.
Use Remove or Clear to delete one or all items in the thread-safe data type.
| 
 
Internet Direct (Indy) version 10.1.5 
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup.  |