BBjFileSystem::makeKeyInfo

Description

In BBj 6.00 and higher, this method creates a BBjKeyInfo object.The BBjKeyInfo object can be used to manipulate VKEYED file key chains dynamically.

Syntax

Return Value

Method

BBjKeyInfo

makeKeyInfo(BBjKeySegment segment, boolean unique)

makeKeyInfo(BBjVector segments!, boolean unique)

Parameters

Variable

Description

segment

Specifies a single key segment.

segments!

Specifies a BBjVector that contains one or more key segments.

unique

Indicates whether this key chain is unique.

Return Value

Returns a BBjKeyInfo object, which is used to manipulate VKEYED key chains.

Example

rem ' Obtain the instance of the BBjFileSystem object

BBjFileSystem! = BBjAPI().getFileSystem()

rem ' Create a BBjKeySegment object
BBjKeySegment! = BBjFileSystem!.makeKeySegment(0,0,10,0,0)

rem ' Create a BBjKeyInfo object
BBjKeyInfo! = BBjFileSystem!.makeKeyInfo(BBjKeySegment!,0)

See Also

BBjAPI

BBjSysGui

Object Variables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.