Monthly Archives: May 2012

Passing a function as a parameter to a method

I have recently been using D3.js for some HTML5/SVG/Javascript work and suddenly realised how useful passing functions as parameters to methods is. I then thought, well how about C#. Here are some examples ….

Posted in SharePoint | Leave a comment

Maintain SPFile version comment and last modified date when moving documents

In overview the strategy is one of replaying history. Each version of the file is reposted to the document library. The comment and last modified date is handled with a combination of SPFile.Checkin() and SPListItem.Update(). Intrigued? Then read on….

Posted in SharePoint, SharePoint 2007, SharePoint 2010 | Tagged , , | Leave a comment