[]
Loads the dictionary from a stream containing the compressed dictionary data.
public override bool Load(Stream stream)
Type | Name | Description |
---|---|---|
Stream | stream |
Type | Description |
---|---|
bool | True if the dictionary was loaded successfully, false otherwise. |
If the dictionary fails to load, this method returns false. In this case, you can check the value of the dictionary's State property to determine why the file failed to load.
Loads the dictionary from a file.
public override bool Load(string fileName)
Type | Name | Description |
---|---|---|
string | fileName | The dictionary file. |
Type | Description |
---|---|
bool | True if the dictionary was loaded successfully, false otherwise. |
If the dictionary fails to load, this method returns false. In this case, you can check the value of the dictionary's State property to determine why the file failed to load.