Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.GetDefaultIndex

Syntax

int GetDefaultIndex( )

Parameters

This method has no parameters.

Description

Retrieves the default record index number.

Return

GetDefaultIndex() returns the default index number.

Example

i = pRec->GetDefaultIndex();

if (i == 1)

{

pRec->Clear();

pRec->First();

}

See Also

GetDefaultIndexName(), SetDefaultIndex()

TOCIndex