Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SPListItem   (RSS)

List definition and property DisallowContentTypes

Be careful with this property. If you set it true in the list definition, there is no easy way to set it back to false after the list has been populated. SPList object has two properties AllowContentTypes which is ReadOnly and ContentTypesEnabled, which
Posted by jukka | 0 Comments

How to access fields in a listitem through object model?

  In a nutshell : SPContext .Current.Web.Lists[ "Documents" ].Items[0][ "Title" ].ToString();
Posted by jukka | 1 Comments
 
Page view tracker