MapiDistributionList.Save
Save(string)
Saves the specified file name.
public void Save(string fileName)
| Parameter | Type | Description |
|---|
| fileName | String | Name of the file. |
See Also
Save(string, MapiDistributionListSaveOptions)
Saves the specified file name.
public void Save(string fileName, MapiDistributionListSaveOptions options)
| Parameter | Type | Description |
|---|
| fileName | String | Name of the file. |
| options | MapiDistributionListSaveOptions | Additional options for saving DistributionList. |
Exceptions
| exception | condition |
|---|
| InvalidOperationException | Thrown if DistributionList is empty. |
| NotSupportedException | Thrown if the DistributionList is saved in WebDav |
See Also
Save(Stream)
Saves the specified stream.
public void Save(Stream stream)
| Parameter | Type | Description |
|---|
| stream | Stream | The stream. |
See Also
Save(Stream, MapiDistributionListSaveOptions)
Saves the specified stream.
public void Save(Stream stream, MapiDistributionListSaveOptions options)
| Parameter | Type | Description |
|---|
| stream | Stream | The stream. |
| options | MapiDistributionListSaveOptions | Additional options for saving DistributionList. |
Exceptions
| exception | condition |
|---|
| InvalidOperationException | Thrown if DistributionList is empty. |
| NotSupportedException | Thrown if the DistributionList is saved in WebDav |
See Also