RanorexRanorex Documentation
IsFalse Method (condition, message, exceptionOnFail)
NamespacesRanorexValidateIsFalse(Boolean, String, Boolean)
Validates if the given condition is false.
Declaration Syntax
C#Visual BasicVisual C++
public static bool IsFalse(
	bool condition,
	string message,
	bool exceptionOnFail
)
Public Shared Function IsFalse ( _
	condition As Boolean, _
	message As String, _
	exceptionOnFail As Boolean _
) As Boolean
public:
static bool IsFalse(
	bool condition, 
	String^ message, 
	bool exceptionOnFail
)
Parameters
condition (Boolean)
The condition to validate.
message (String)
The message to log.
exceptionOnFail (Boolean)
A value specifying if an exception should be thrown if the validation fails.
Return Value
true if the specified condition is false; otherwise, false.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails and exceptionOnFail is true.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.4.23593 (4.0.4.23593)