摘要: SPListItem spDoc = oWeb.Lists["共享文档"].GetItemById(DocumentID);SPFileVersionCollection versionColl = spDoc.File.Versions;foreach (SPFileVersion version in versionColl) { //将UTC时间格式转换为本地时间 DateTime versionTime = Convert.ToDateTime(oWeb.RegionalSettings.TimeZone.UTCToLocalTime(Convert.ToDateT 阅读全文
posted @ 2012-06-15 14:47 muddy-bear 阅读(841) 评论(0) 推荐(0) 编辑