The Portrate Interview Engine

AbstractControl.CurrentValue Method 

Gets the current value for this control as determined by its data name and the current data context. The default value is treated like a variable reference if it starts with the '@' character.

[Visual Basic]
Overridable Public Function CurrentValue( _ 
   ByVal ctx As DataContext _ 
) _
    Implements IDPLControl.CurrentValue As String
[C#]
public virtual string CurrentValue(
   DataContext ctx
);
[C++]
public: virtual String* CurrentValue(
   DataContext* ctx
);
[JScript]
public virtual function CurrentValue(
   DataContext ctx
): String;

Parameters

ctx
The current data context

Return Value

The current value of this control in the current data context, or the default if there is no value yet.

Implements

IDPLControl.CurrentValue

See Also

AbstractControl Class | Portrate.Interview.View.Controls Namespace