OnDemand Property
See Also 
SourceCode.Workflow.Authoring Namespace > DataField Class : OnDemand Property



Glossary Item Box

Gets or sets the OnDemand option of the DataField. By setting the OnDemand property to true will force K2 Server to only load the DataField when it is required.

Syntax

Visual Basic (Declaration) 
Public Property OnDemand As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DataField
Dim value As Boolean
 
instance.OnDemand = value
 
value = instance.OnDemand
C# 
public bool OnDemand {get; set;}
C++/CLI 
public:
property bool OnDemand {
   bool get();
   void set (    bool value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also