UpdateListContentType Method
Updates the specified content type on the list.
Object Oriented Interface
public function doUpdateListContentType($listname, $contenttypeid, $addtoview);
Procedural Interface
insp_spsite_do_updatelistcontenttype($res, $listname, $contenttypeid, $addtoview);
Remarks
The list is specified by the ListName parameter.
Before updating the content type, specify the columns for the content type in the Columns collection which will be updated.