Monday 25 April 2011

Get the Active Content Types for a list in sharepoint

Generally we use list.ContentTypes to get the content types associated to a SPList.
But for retrieving the active content types we should go with list.RootFolder.ContentTypeOrder
[list refer SPList Object]

No comments:

Post a Comment