Takvim Öğelerinden Ekleri Almak

Aspose.Email - Takvim Öğelerinden Ekleri Alma

Aspose.Email, takvim öğeleriyle ilişkili ekleri almak için kullanılabilecek bir ekler koleksiyonu sağlar.

Java

String savedFile = dataDir + "AppWithAttachments.ics";
Appointment app2 = Appointment.load(savedFile);
System.out.println("Total Attachments: "  + app2.getAttachments().size());
for (int i=0; i< app2.getAttachments().size();i++)
{
	Attachment att = app2.getAttachments().get_Item(i);
	System.out.println(att.getName());
	//Save the attachment to disc
	att.save(att.getName());
}

Çalışan Kodu İndir

Örnek Kodu İndir