SpamAnalyzer.SaveDatabase
SaveDatabase(string)
Saves the Bayesian database to file.
public void SaveDatabase(string filePath)
| Parameter | Type | Description |
|---|
| filePath | String | The full or relative path to the file containing Bayesian database. |
Exceptions
| exception | condition |
|---|
| ArgumentException | If filePath is null or an empty string. |
See Also
SaveDatabase(Stream)
Saves the Bayesian database to stream.
public void SaveDatabase(Stream stream)
| Parameter | Type | Description |
|---|
| stream | Stream | An output stream containing Bayesian database. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | If stream is null. |
See Also