Aspose.Email.Examples.CSharp.Email.Outlook.CreatAndSaveAnOutlookNote.Run C# (CSharp) Метод

Run() публичный статический Метод

public static Run ( ) : void
Результат void
        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
        }
    }
CreatAndSaveAnOutlookNote