[]
Loads the dictionary from a stream containing the compressed dictionary data.
public override bool Load(Stream stream)
Public Overrides Function Load(stream As Stream) As Boolean
| 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)
Public Overrides Function Load(fileName As String) As Boolean
| 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.