
## CreateSaveOptions {#createsaveoptions}

Creates a save options object of a class suitable for the specified save type.

**Returns:** An object of a class that derives from SaveOptions .

```cpp
CreateSaveOptions(System::SharedPtr < Aspose::Email::MailMessageSaveType > saveType)
```

| Parameter | Description |
| --- | --- |
| saveType | The save type for which to create a save options object. |

