Thursday, September 25, 2014

How to create an SPList by adding SPListItems from List ?

Hi frob,


According to your description, my understanding is that you want to create a SPList object via a SPListItem collection.


In SPList Object, there is a metod SPList.AddItem(), you can use this method add SPListItem to a list.


More information:


SPList.AddItem method:


http://ift.tt/1ssUPd1


Add Items to a list instance:


http://ift.tt/1vgMpTP


Best regards




Zhengyu Guo

TechNet Community Support



No comments:

Post a Comment