I need to get all of the site's document libraries except for picture libraries.
This is my code:
var libraries = SPContext.Current.Web.GetListsOfType(SPBaseType.DocumentLibrary);
My problem is that this returns also the picture libraries. I need only document libraries, not picture libraries.
I had searched a lot for an answer in Bing and here before I posted this question.
Any Idea?
No comments:
Post a Comment