ZennoLab Assemblies Documentation
IContext Interface
Members  Example 
Represents a collection of shared objects that can be accessed by name.
Object Model
IContext Interface
public interface IContext 
This interface can be used in action OwnCode (C# or PHP) of ProjectMaker.
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"];

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

See Also


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

Send Feedback