IsKeyed contains True if the file has been opened for "keyed" access.
dbfile.IsKeyed Type (*Boolean)
When the ChkFmtID parameter specified in the DCLDISKFILE command is set to *Yes or *Same, IsKeyed returns True if the format ID of the file specified in the DclDiskfile's FileDesc parameter is the same as the file opened at run-time.
The Visual RPG for .NET compiler stores the format of each file in the assembly when a program is compiled. At run-time, AVR for .NET can then compare the stored format ID with the format ID of the currently-opened file.
ASNA.VisualRPG.Runtime
DBFile Class
DBFile Members
DCLDISKFILE