Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTTable.InsertSegment

Syntax

CTSegment InsertSegment( CTIndex Index, int BeforeSegment,

CTField Field, SEG_MODE SegMode)

CTSegment InsertSegment( CTIndex Index, int BeforeSegment,

String FieldName, SEG_MODE SegMode)

CTSegment InsertSegment( CTIndex Index, int BeforeSegment,

int FieldNumber, SEG_MODE SegMode)

CTSegment InsertSegment( CTIndex Index, int BeforeSegment,

int offset, int length, SEG_MODE SegMode)

CTSegment InsertSegment(int IndexNbr, int BeforeSegment,

int FieldNumber, SEG_MODE SegMode)

CTSegment InsertSegment(int IndexNbr, int BeforeSegment,

String FieldName, SEG_MODE SegMode)

CTSegment InsertSegment( String IndexName, int BeforeSegment,

String FieldName, SEG_MODE SegMode)

CTSegment InsertSegment( String IndexName, int BeforeSegment,

int FieldNumber, SEG_MODE SegMode)

CTSegment InsertSegment( String IndexName, int BeforeSegment,

CTField Field, SEG_MODE SegMode)

CTSegment InsertSegment(int IndexNbr, int BeforeSegment,

CTField Field, SEG_MODE SegMode)

Parameters

  • Index [in] The index object.
  • BeforeSegment [in] Insert the new segment before this segment.
  • Field [in] The field object that composes part of the index segment
  • SegMode [in] The segment mode. The valid values to the segment mode are shown in "Segment Modes".
  • FieldName [in] Field name to compose the index segment
  • FieldNumber [in] Field number to compose the index segment
  • offset [in] Absolute byte offset of the segment
  • Length [in] Segment length in bytes
  • IndexNbr [in] Index number
  • IndexName [in] Index name
  • Field [in] Field segment to be inserted

Description

Inserts a new segment in an index.

Return

InsertSegment() returns a segment object.

See Also

AddSegment(), DelSegment()

TOCIndex