PreviousNext
Help > Easycom .NET > Easycom namespace > EasycomFile > EasycomFile.RecordLock Method
EasycomFile.RecordLock Method

 Locks the current record.

 

Class EasycomFile

 

Syntax

public void EasycomFile.RecordLock()

 

Description

 

This function locks the current record. If the fetch mode is "Locked", this function as no effect.

If the record has changed between the fetch (ReadKey, …) and the RecordLock function call, an exception will be thrown.

When the record is locked, EasycomFile.RecordDelete and EasycomFile.RecordUpdate are allowed.