Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.SwitchContext

Syntax

void SwitchContext( )

Parameters

None.

Description

Force a switch to the c-tree ISAM context indicated by the record object. Each record object has its own c-tree ISAM context id.

When most c-treeDB record handling functions are called, they automatically perform a c-tree ISAM context switch.

SwitchContext() may be useful before calling specific c-tree ISAM or low level calls to make sure the correct ISAM context is active before making those calls.

Return

None.

See Also

CTTable.UnlockTable(), LockRecord()

TOCIndex