ZennoLab Assemblies Documentation
IContext Interface
Members  Example 
Represents a collection of shared objects that can be accessed by name.
Object Model
IContext Interface
Syntax
public interface 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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

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

Send Feedback