Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeList.Assign Method (TIdThreadList)

Copies items stored in a list to the current thread-safe list instance.

Pascal
procedure Assign(
    AThreadList: TIdThreadList
); overload;
Parameters 
Description 
AThreadList 
Thread-safe list containing items to store in the list. 

Assign is an overloaded method used to store the contents of the TIdThreadList specified in AThreadList to the current thread-safe list instance. 

Assign calls the LockList in the AThreadList parameter to create a TIdList instance with the current content for the thread-safe list. Assign calls the overloaded Assign method using the TList instance. Assign calls the UnlockList method in the AThreadList parameter to free resource protection for the thread-safe list.

TIdThreadSafeList.Assign

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.