public static void Run()
{
// ExStart:CreatAndSaveAnOutlookNote
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
// Create MapiNote and set Properties
MapiNote note3 = new MapiNote();
note3.Subject = "Blue color note";
note3.Body = "This is a blue color note";
note3.Color = NoteColor.Blue;
note3.Height = 500;
note3.Width = 500;
note3.Save(dataDir + "MapiNote_out.msg", NoteSaveFormat.Msg);
// ExEnd:CreatAndSaveAnOutlookNote
}
}