C# VSTO 2010 Outlook加载项-排除嵌入对象
我正在使用Visual Studio 2015使用c#.net开发outlook 2010附加模块 当我单击电子邮件阅读窗格中的按钮(加载项)时,我只需要保存附件,不包括该特定电子邮件的嵌入对象C# VSTO 2010 Outlook加载项-排除嵌入对象,c#,visual-studio,vsto,outlook-addin,C#,Visual Studio,Vsto,Outlook Addin,我正在使用Visual Studio 2015使用c#.net开发outlook 2010附加模块 当我单击电子邮件阅读窗格中的按钮(加载项)时,我只需要保存附件,不包括该特定电子邮件的嵌入对象 if (item.Attachments.Count > 0) { for (int j = 1; j <= item.Attachments.Count; j++) { item.Attachments[j].SaveAsFile(item.Attachme
if (item.Attachments.Count > 0)
{
for (int j = 1; j <= item.Attachments.Count; j++)
{
item.Attachments[j].SaveAsFile(item.Attachments[j].FileName);
}
}
if(item.Attachments.Count>0)
{
对于(int j=1;jitem.Attachments[j]
闻起来像是附件类型。它可能有一堆属性和东西。你看过属性了吗?当附件真的是附件和嵌入附件时,你看到了它们是什么?谢谢。我会检查它的