Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTIndex.AddSegment

Syntax

CTSegment AddSegment( CTField Field, SEG_MODE SegMode)

CTSegment AddSegment(int offset, int length, SEG_MODE SegMode)

Parameters

  • Field [in] The segment object to be inserted.
  • SegMode [in] The field segment mode. The valid values for the segment mode are shown in "Segment Modes".
  • offset [in] The segment offset to be inserted.
  • length [in] The segment length to be inserted.

Description

Adds a new segment to the index at the end of the index.

Return

Returns a segment object

See Also

DelSegment(), GetSegmentCount(), InsertSegment()

TOCIndex