I'm are working on a SharePoint Site where I have created lot of Lists. In my example , I created a simple automatically way (by code) to print out each List into my site:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
namespace EsercizioSP
{
class Program
{
static void Main(string[] args)
{
string SiteURL = "http://sp2010dev/sites/MySite/";
using (SPSite sc = new SPSite(SiteURL))
{
SPWeb site = sc.RootWeb;
foreach (SPList list in site.Lists)
{
Console.WriteLine(list.Title);
System.Console.ReadLine();
}
}
}
}
}
Now I've been looking for an object SPPage or SiPge or something like this, that allows me to to print out every site page into the webSite. Does anybody know if a such object exist?