新しいカレンダー項目を作成

Aspose.Email - 新しいカレンダー項目の作成

Aspose.Email の MapiCalendar クラスは、カレンダー項目のさまざまなプロパティを設定するメソッドと属性を提供します。

Java

MapiCalendar appointment = new MapiCalendar(
    "Lorem ipsum dolor sit amet.",
    "Appointment",
    "This is a very important meeting :)",
    new Date(2012, 10, 2, 13, 0, 0),
    new Date(2012, 10, 2, 14, 0, 0));
appointment.save(dataDir + "AsposeCalendarItem.ics", AppointmentSaveFormat.Ics);

実行コードをダウンロード

サンプルコードをダウンロード