Class TaskMsgSaveOptions
Contents
[
Hide
]TaskMsgSaveOptions class
Options for saving a task as an Outlook message (MSG).
public sealed class TaskMsgSaveOptions : TaskSaveOptions
Constructors
| Name | Description |
|---|---|
| TaskMsgSaveOptions() | Initializes a new instance of the TaskMsgSaveOptions class with default settings. |
Properties
| Name | Description |
|---|---|
| SaveFormat { get; } | Gets the format to which the task will be saved. |
Remarks
Use this class when saving a Task to an Outlook MSG file. It inherits from TaskSaveOptions and specifies the MSG format.
This format preserves additional MAPI properties that are specific to Microsoft Outlook, so a task saved this way opens in Outlook with its reminder, owner and progress information intact.
The class has no settings of its own beyond the inherited SaveFormat; pass a new instance wherever a TaskSaveOptions is expected.
Examples
[C#]
var task = new Task();
task.Subject = "Review documentation";
// Save task as MSG file
task.Save("task.msg", new TaskMsgSaveOptions());
See Also
- class TaskSaveOptions
- namespace Aspose.Email.Calendar
- assembly Aspose.Email