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]
But for retrieving the active content types we should go with list.RootFolder.ContentTypeOrder
[list refer SPList Object]
No comments:
Post a Comment