SharePoint 获取SPListItem附件地址

已知SPListItem item,获取item的地址:
for (int i = 0; i < item.Attachments.Count; i++)

{

  string attachmentURL = item.Attachments.UrlPrefix + item.Attachments[i];

}

posted @ 2014-09-05 21:13  TroubleShooting  阅读(207)  评论(0编辑  收藏  举报