| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoList Interface : GetItems Method |
Type: System.String
The filter of range.
Type: System.Boolean
true if need to remove the items, otherwise and default false.
IEnumerable<string> GetItems( string filter, bool removeItems )
Type: System.String
The filter of range.
Type: System.Boolean
true if need to remove the items, otherwise and default false.
Type: System.Collection.Generic.IEnumerable<String>
The collection of requried elements.
// gets 20 random items from several ranges of the list return string.Join(";", project.Lists["List 1"].GetItems("random20(1,12-15,35-end)"));
// gets 20 random items from several ranges of the list return String::Join(";", $project->Lists->get_Item("List 1")->GetItems("random20(1,12-15,35-end)"));
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.