Wednesday, 29 October 2008

Number of Blog Comments

The problem was to get the Number of Blog Comments to a blog in Sharepoint.

It is possible to get the Number this way where item is an SPListItem:

string numberOfComments = item["NumComments"].ToString();