Topic Path: Symbol Reference > Classes > TIdSocketListDotNet Class > TIdSocketListDotNet Methods > Contains Method
ContentsIndexHome
PreviousUpNext
TIdSocketListDotNet.Contains Method

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.