The Portrate Interview Engine

ControlFactory.GetControl Method

Returns a well-known IDPLControl instance using the given ID. The returned instance is not initialized. Returns NULL if the ID is not known.

Overload List

Returns a well-known IDPLControl instance using the given ID. The returned instance is not initialized. Returns NULL if the ID is not known.

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

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 XmlElement) As IDPLControl
[C#] public IDPLControl GetControl(XmlElement);
[C++] public: IDPLControl* GetControl(XmlElement*);
[JScript] public function GetControl(XmlElement): IDPLControl;

See Also

ControlFactory Class | Portrate.Interview.View.Controls Namespace