The Portrate Interview Engine

ValidatorFactory.GetValidator 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 GetValidator( _ 
   ByVal e As XmlElement _ 
) As IDPLValidator
[C#]
public IDPLValidator GetValidator(
   XmlElement e
);
[C++]
public: IDPLValidator* GetValidator(
   XmlElement* e
);
[JScript]
public function GetValidator(
   XmlElement e
): IDPLValidator;

Parameters

e
The validator's configuration element

Return Value

IPortrate_InterviewValidator instance configured with the given element information

See Also

ValidatorFactory Class | Portrate.Interview.Model.Validation Namespace | ValidatorFactory.GetValidator Overload List