People who code: we want your input. Take the Survey

New answers tagged

0

Use this: List documentLibrary = clientContext.Web.Lists.GetByTitle(documentLibraryName); clientContext.load(documentLibrary); clientContext.ExecuteQuery(); documentLibrary.ContentTypesEnabled = true; documentLibrary.Update(); clientContext.ExecuteQuery();


Top 50 recent answers are included