function FindKey(const KeyName: string): TScKey;

 

Description

Call FindKey to determine if a specified key is referenced in the Keys list. KeyName is the name of the key for which to search. If FindKey finds a key with a matching name, it returns the TScKey object for the specified key. Otherwise it returns nil.

 

Note:

FindKey differs from the KeyByName method only when the named key is not in the list. When the key is not found, FindKey returns nil, while KeyByName raises an exception.

 

See also

KeyByName

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support