Form showing the progress of dictionary index reading
For a list of all members of this type, see DictIdxRdForm Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
dict.DictIdxRdForm
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
In GUI environments use DictIdxRdForm.rdIndex() rather that to instantiate the dictionary index object DictIndex directly.
The following example creates a dictionary index object from the index file c:\temp\dict.idx
and translates the English word query
using this dictionary index:
[C#]
using dict;
public class Test {
private const string INDEXFILE = @"c:\temp\dict.idx";
public static void Main() {
DictIndex idx;
string[] answer;
idx = DictIdxRdForm.rdIndex(Test.INDEXFILE);
answer = idx.get("query");
if (answer != null) {
foreach(string s in answer) Console.WriteLine(s);
}
}
}
Namespace: dict
Assembly: dict (in dict.exe)
DictIdxRdForm Members | dict Namespace | DictIndex | DictImport.saveIdx