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
AssignSyntaxobject that corresponds to an assignment statement. - An
InvokeSyntaxobject that corresponds to a routine or method call. - An
IfSyntaxobject that corresponds to a conditional statement. - A
CollectionSyntaxobject that corresponds to a sequence of statements.
See Also
Condition Property
TrueSyntax Property
AssignSyntax Object
InvokeSyntax Object
IfSyntax Object
CollectionSyntax Object
