Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTResource.Next

Retrieve the next resource stored in a table.

Declaration

CTBOOL CTResource::Next(CTBOOL lock) const;

Description

Retrieves the next resource stored in a table. lock is used to indicate if the resource should be locked, if it is found.

Return

Returns YES if the first resource was retrieved or NO if first resource does not exist. In case of error, a CTException is thrown.

See Also

CTResource.Add(), CTResource.Delete(), CTResource.Update(), CTResource.First(), CTResource.Find(), CTResource.GetType(), CTResource.SetType(), CTResource.GetNumber(), CTResource.SetNumber(), CTResource.GetName(), CTResource.SetName(), CTResource.GetDataLength(), CTResource.GetData(), CTResource.SetData(), CTResource.Unlock(), CTResource.IsLocked()

TOCIndex