select document library from certain list 分类: Sharepoint 2015-07-05 07:52 6人阅读 评论(0) 收藏

S

using System;
using Microsoft.SharePoint; namespace Test
{
class ConsoleApp
{
static void Main(string[] args)
{
using (SPSite site = new SPSite("http://localhost"))
{
using (SPWeb web = site.OpenWeb())
{
SPListCollection lists = web.GetListsOfType(SPBaseType.DocumentLibrary); foreach (SPList list in lists)
{
Console.WriteLine(list.Title);
}
}
}
Console.ReadLine();
}
}
}
other types for selection
GenericList

DiscussionBoard Survey Issue

上一篇:FullCalendar应用——整合农历节气和节日


下一篇:FullCalendar Timeline View 使用