---
title: "MapiCalendarSaveOptions.FromSaveFormat"
url: "https://reference.aspose.com/email/net/aspose.email.mapi/mapicalendarsaveoptions/fromsaveformat/"
product: "Aspose.Email for .NET API Reference"
description: "MapiCalendarSaveOptions method. Gets the default save options for the specified format"
---

## MapiCalendarSaveOptions.FromSaveFormat method

Gets the default save options for the specified format.

```csharp
public static MapiCalendarSaveOptions FromSaveFormat(AppointmentSaveFormat saveFormat)
```

| Parameter | Type | Description |
| --- | --- | --- |
| saveFormat | AppointmentSaveFormat | The format: ICS or MSG. |

### Return Value

A [`MapiCalendarIcsSaveOptions`](../../mapicalendaricssaveoptions/) or [`MapiCalendarMsgSaveOptions`](../../mapicalendarmsgsaveoptions/) object.

### See Also

* enum [AppointmentSaveFormat](../../../aspose.email.calendar/appointmentsaveformat/)
* class [MapiCalendarSaveOptions](../)
* namespace [Aspose.Email.Mapi](../../mapicalendarsaveoptions/)
* assembly [Aspose.Email](../../../)


