BBjFileInfo::getKeyInfo
Description
In BBj 6.00 and higher, this method retrieves one or more BBjKeyInfo objects from a BBjFileInfo object.
Syntax
| Return Value | Method | 
|---|---|
| BBjVector | getKeyInfo() | 
| BBjKeyInfo | getKeyInfo(int keynum) | 
| BBjKeyInfo | getKeyInfo(string keyname) | 
Parameters
| Variable | Description | 
|---|---|
| keyname | Specifies the key name. | 
| keynum | Specifies the key number. | 
Return Value
Returns either a BBjVector containing all BBjKeyInfo objects associated with the file or a single BBjKeyInfo object for the specified key chain.
Remarks
This method throws an !ERROR=13 if the file associated with this BBjFileInfo object is not a VKEYED file, or an !ERROR=11 if there is no key chain associated with a specified key name.
Example
|  | 
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.