Adds a validation error if the condition is true. Otherwise no item is
added.
public void Assert(bool Condition, string Message, string FieldName)
Return Value
value of condition
Parameters
Condition
If true the Validation Error is added.
Message
The Error Message for this error.
FieldName
Optionally the name of the UI field
Overloads:
public bool Assert(bool Condition, ValidationError Error)
public bool Assert(bool Condition, string Message, string FieldName, string ID)
public bool Assert(bool Condition, string Message)
See also:
Class ValidationErrorCollection© West Wind Technologies, 1996-2018 • Updated: 09/04/04
Comment or report problem with topic