已知SPListItem item,获取item的地址:
for (int i = 0; i < item.Attachments.Count; i++)
{
string attachmentURL = item.Attachments.UrlPrefix + item.Attachments[i];
}
已知SPListItem item,获取item的地址:
for (int i = 0; i < item.Attachments.Count; i++)
{
string attachmentURL = item.Attachments.UrlPrefix + item.Attachments[i];
}