Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketListDotNet.Contains Method

Indicates if a socket handle is already stored in the socket list.

Pascal
function Contains(
    AHandle: TIdStackSocketHandle
): boolean; override;
Parameters 
Description 
AHandle 
Socket handle to locate in the socket list. 

boolean - True when the socket handle already exists in the list.

Contains is an overridden boolean function that implements the method used to determine if the socket handle in AHandle is already stored in the socket list. 

Contains searches the ArrayList that implements storage for the list. The return value for the method is the result from Contains method in the ArrayList that implements storage for the list.

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.