| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoList Interface > AddRange Method : AddRange(IZennoList) Method |
Type: ZennoLab.IntefacesLibrary.ProjectModel.IZennoList
The collection whose elements should be added to the end of the IZennoList. The collection itself cannot be null, but it can contain elements that are null.
void AddRange( IZennoList list )
Type: ZennoLab.IntefacesLibrary.ProjectModel.IZennoList
The collection whose elements should be added to the end of the IZennoList. The collection itself cannot be null, but it can contain elements that are null.
// add all items from project with name "List 2" // to the project list with name "List 1" project.Lists["List 1"].AddRange(project.Lists["List 2"]);
// add all items from project with name "List 2" // to the project list with name "List 1" $project->Lists->get_Item("List 1")->AddRange($project->Lists->get_Item("List 2"));
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.