ZennoLab Assemblies Documentation
IZennoList Interface
Members  Example 
ZennoLab.InterfacesLibrary.ProjectModel Namespace : IZennoList Interface
Represents the data of the list. Provides method for binding data.
Syntax
[ServiceContract()]
[DefaultMember("Item")]
public interface IZennoList 
Remarks
This interface can be used in action OwnCode (C# or PHP) of ProjectMaker.
Example
The following code using IZennoList Interface for getting information about list.
// get the list
IZennoList list = project.Lists["List 1"];
// get count
int count = list.Count;
var sb = new StringBuilder();
// items to string
foreach (string str in list) sb.AppendLine(str);
// return the string
return sb.ToString();
// get the list
$list = $project->Lists->get_Item("List 1");
// get count
$count = $list->Count;
$sb = new System\Text\StringBuilder();
// items to string
foreach ($list as $str) $sb->AppendLine($str);
// return the string
return $sb->ToString();
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoList Members
ZennoLab.InterfacesLibrary.ProjectModel Namespace
IZennoTable Interface