Does SPList.update also update changes made to SPListitems ?

Do i need to call SPListItem.update for each SPListItem ?
Like:

loop all SPListItems{
change it
call SPListItem.update
}
call SPlist.update


Or can i just do:
loop all SPListItems{
change it
}
call SPlist.update

?

Re: SPList Update by Mike

Mike
Wed Aug 27 11:47:07 CDT 2008

Coding questions go to
microsoft.public.sharepoint.development_and_programming !

Mike Walsh
WSS FAQ http://www.wssfaq.com / http://wss.collutions.com
no questions by e-mail please



Dst wrote:
> Does SPList.update also update changes made to SPListitems ?
>
> Do i need to call SPListItem.update for each SPListItem ?
> Like:
>
> loop all SPListItems{
> change it
> call SPListItem.update
> }
> call SPlist.update
>
>
> Or can i just do:
> loop all SPListItems{
> change it
> }
> call SPlist.update
>
> ?
>
>