Wednesday, May 14, 2008

WSS SDK Object Model Programming Samples

I'm constantly pointing people to these very simple, but helpful SharePoint object model code samples found in the WSS SDK. Problem is, it always takes me a few minutes to locate them. Not anymore...

http://msdn.microsoft.com/en-us/library/ms412748.aspx

Speaking of helpful samples, here's a link to some code that illustrates the following common techniques:
  • getting a reference to a site
  • iterating over all lists in a site
  • getting a reference to a list
  • getting a reference to an item in a list
  • getting a reference to the item's properties
  • getting a reference to a document and its properties
  • adding a new item to a listmodifying an item in a list
http://www.sharepoint-tips.com/2006/08/common-and-simple-coding-tasks-in.html

No comments: