2011-02-07 16 views

Odpowiedz

0

innych odpowiedzi tutaj są dobre, ale istnieje również alternatywna:

Attachment.GetTemporaryFilePath Method (Outlook)

Attachment.SaveAsFile Method (Outlook)

do R śledź ścieżkę.

var attachment = contact.Attachments["ContactPicture.jpg"] as Attachment; 
var path = attachment.GetTemporaryFilePath(); 

Aby zapisać plik.

var attachment = contact.Attachments["ContactPicture.jpg"] as Attachment; 
var path = attachment.SaveAsFile(savePath); 
Powiązane problemy