IfSyntax.TrueSyntax Property

Applies to TestComplete 15.62, last modified on March 19, 2024

Description

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

Declaration

IfSyntax.TrueSyntax

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

Applies To

The property is applied to the following object:

Property Value

The TrueSyntax 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
FalseSyntax Property
AssignSyntax Object
InvokeSyntax Object
IfSyntax Object
CollectionSyntax Object

Highlight search results