The Portrate Interview Engine

IDPLControl.CurrentValue Method 

Gets the current value for this control according to the current data context and its data name.

[Visual Basic]
Function CurrentValue( _ 
   ByVal ctx As DataContext _ 
) As String
[C#]
string CurrentValue(
   DataContext ctx
);
[C++]
String* CurrentValue(
   DataContext* ctx
);
[JScript]
function CurrentValue(
   DataContext ctx
): String;

Parameters

ctx
The current data context

Return Value

The controls current value, including the default value if there is no DPLFormDataModel data value yet.

See Also

IDPLControl Interface | Portrate.Interview.Model Namespace