RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSessionList.Sessions Property

Lists all active session components in the session list.

Pascal
property Sessions [Index: Integer]: TSession;
C++
__property TSession Sessions[int Index];

Use Sessions to access available session components. Index specifies the session to access. Index must be in the range of zero to the current value of the Count property minus one, or an EListError exception is raised describing the out of bounds condition. 

For example, an application might iterate through all available sessions in the list to perform a global action on them. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!