The Portrate Interview Engine

DataContext.AddValue Method 

Adds a specific named value to the context. If the name starts with a VAR_REFERENCE the name is treated as a variable reference. For instance, InsurancePolicy/LOB=$_LOB$ would refer to the _LOB system variable (defined in the configuration of the Portrate_Interview system).

[Visual Basic]
Public Sub AddValue( _ 
   ByVal name As String, _ 
   ByVal val As String _ 
)
[C#]
public void AddValue(
   string name,
   string val
);
[C++]
public: void AddValue(
   String* name,
   String* val
);
[JScript]
public function AddValue(
   String name,
   String val
);

Parameters

name
The name of the value
val
The contents of the value

See Also

DataContext Class | Portrate.Interview.Model Namespace