function FindKey(const KeyName: string): TScKey;



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.



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



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