MessageObjectSave Method (String, MessageObjectSaveFormat) |
Saves the current message object to the specified file.
Namespace:
Aspose.Email.Mapi.Msg
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic void Save(
string fileName,
MessageObjectSaveFormat format
)
Public Sub Save (
fileName As String,
format As MessageObjectSaveFormat
)
public:
void Save(
String^ fileName,
MessageObjectSaveFormat format
)
member Save :
fileName : string *
format : MessageObjectSaveFormat -> unit
Parameters
- fileName
- Type: SystemString
Name of the file. - format
- Type: Aspose.Email.Mapi.MsgMessageObjectSaveFormat
The format of the output data.
Exceptions
Remarks
In addition same set of exceptions could be thrown as for the
OpenWrite(String) call.
See Also