CTIndex::SetIndexKSeg
Establishes an index-wide extended key segment definition.
Declaration
void CTIndex::SetIndexKSeg(pctKSEGDEF pKSeg);
Description
CTIndex::SetIndexKSeg() establishes an index wide extended key segment definition. pKSeg is a pointer to an extended key segment definition structure with the extended key definition.
Return
void
Example
ctKSEGDEF kseg;
kseg.kseg_ssiz = ctKSEG_SSIZ_COMPUTED;
kseg.kseg_type = ctKSEG_TYPE_UNICODE;
kseg.kseg_styp = ctKSEG_STYP_UTF16;
kseg.kseg_comp = ctKSEG_COMPU_S_DEFAULT | ctKSEG_COMPU_N_NONE;
kseg.kseg_desc = "en_US"
hIndex.SetIndexKSeg(&kseg);
See Also
CTIndex::GetIndexKSeg(), CTSegment::GetSegmentKSeg(), CTSegment::SetKSegDefaults(),
CTSegment::SetSegmentKSeg(), CTTable::GetTableKSeg(), CTTable::SetTableKSeg()