SPListCollection li = MyWeb.Lists;
Boolean flag = true;
int indexLi = 0;
for (int k = li.Count-1; k > 0; k--)
{
SPList item = li[k];
if (indexLi == 10)
{
break;
}
if (item.BaseTemplate == SPListTemplateType.Survey) //关键一句
{
时间: 2024-10-09 12:51:12