ZennoLab Assemblies Documentation
IContextExt Interface
Members  Example 
ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace : IContextExt Interface
Represents a collection of shared objects that can be accessed by name.
Syntax
[DefaultMember("Item")]
public interface IContextExt : IContext  
Remarks
This interface can be used in action OwnCode (C# or PHP) of ProjectMaker.
Example
The following example uses property Context of "project" for getting and setting value to context.
// get local variable
object o = project.Context["ObjectName"];
 
// check existing object
if(o == null)
{
    // set value
    project.Context["ObjectName"] = "this is new object";
}
 
// return new value
return project.Context["ObjectName"];
Requirements

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

See Also

Reference

IContextExt Members
ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace
IZennoPosterProjectModel.Context Property