RAD Studio VCL Reference
|
Searches the list of sessions for a specified session.
function FindSession(const SessionName: string): TSession;
__fastcall TSession FindSession(const AnsiString SessionName);
Call FindSession to determine whether or not a specified session exists. SessionName specifies the session to search for.
FindSession compares the SessionName parameter to the SessionName property for each session component in the session list. If a match is found, FindSession returns a pointer to the session component. If an application passes an empty string in SessionName, FindSession returns the default session, Session. If a match is not found, FindSession returns nil (Delphi) or NULL (C++).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|