IfSyntax.FalseSyntax Property

Applies to TestComplete 15.45, last modified on December 01, 2022

Description

The FalseSyntax property specifies the syntax element corresponding to the statement(s) that are executed when the condition tested by the given IfSyntax element evaluates to False. To obtain or set the syntax element that defines the statement(s) executed if the condition is True, use the TrueSyntax property.

The FalseSyntax element is optional - you can leave it empty if you wish to create an if ... then statement rather than if ... then ... else.

Declaration

IfSyntax.FalseSyntax

Read-Write Property An AssignSyntax, InvokeSyntax, IfSyntax or CollectionSyntax object

Applies To

The property is applied to the following object:

Property Value

The FalseSyntax property can hold one of the following values:

  • An AssignSyntax object that corresponds to an assignment statement.
  • An InvokeSyntax object that corresponds to a routine or method call.
  • An IfSyntax object that corresponds to a conditional statement.
  • A CollectionSyntax object that corresponds to a sequence of statements.

See Also

Condition Property
TrueSyntax Property
AssignSyntax Object
InvokeSyntax Object
IfSyntax Object
CollectionSyntax Object

Highlight search results