API for interacting with SharePoint from .NET code deployed to the server.

learn more… | top users | synonyms

3
votes
3answers
1k views

Problem with SPList.SaveAsTemplate

I have never really had too much cause to use this method before but I am developing some generic classes to deal with column, content type and list management for use in a series of features. My ...
1
vote
5answers
1k views

for vs foreach when iterating over SPWebCollection

I was just wondering which of the two methods below is more popular, when it comes to iterating over a collection of SPWeb objects. for (int i = 0; i < SPContext.Current.Site.AllWebs.Count; i++) { ...