The Portrate Interview Engine

ControlFactory.GetControl Method (XmlElement)

Returns a configured IDPLValidator instance using the given configuration element. Returns NULL if the validator reference is not valid and writes an error message to the trace.

[Visual Basic]
Public Function GetControl( _ 
   ByVal eControl As XmlElement _ 
) As IDPLControl
[C#]
public IDPLControl GetControl(
   XmlElement eControl
);
[C++]
public: IDPLControl* GetControl(
   XmlElement* eControl
);
[JScript]
public function GetControl(
   XmlElement eControl
): IDPLControl;

Parameters

eControl
The validator's configuration element

Return Value

IPortrate_InterviewValidator instance configured with the given element information

See Also

ControlFactory Class | Portrate.Interview.View.Controls Namespace | ControlFactory.GetControl Overload List