dict.cc dictionary

DictImport.addIndex Method 

Adds the given dictionary index entry

[Visual Basic]
NotOverridable Public Function addIndex( _
   ByVal index As String, _
   ByVal from As Long, _
   ByVal to As Long _
) As Boolean _
    Implements IDictParserHandler.addIndex
[C#]
public bool addIndex(
   string index,
   long from,
   long to
);

Parameters

index
the index keyword
from
the position in the dictionary file, at which the dictionary entry for the index starts
to
the position in the dictionary file just after the end of the dictionary entry for the index

Return Value

True, if the process should continue or false if it was interrupted by the user

Implements

IDictParserHandler.addIndex

Remarks

Adds a new DictEntryRef object build from the given from and to offsets to the array of dictionary entry references for the given index. The method does absolutely nothing on disposed objects. The does also nothing, if the given index already references at least MAXENTRIES entries. This is because some popular words like of, in, the may be contained in almost all entries of the dictionary.

See Also

DictImport Class | dict Namespace