SaveOptions.CreateSaveOptions

SaveOptions.CreateSaveOptions method

Creates save options of the class that matches the specified format.

public static SaveOptions CreateSaveOptions(MailMessageSaveType saveType)
ParameterTypeDescription
saveTypeMailMessageSaveTypeThe format to save to.

Return Value

A EmlSaveOptions, MsgSaveOptions, MhtSaveOptions or HtmlSaveOptions object.

See Also