Navigation: Object Model Reference > Step Object > RuleComparison Property |
|
Sets or returns the type of conditional build rule for the step.
Syntax
Step.RuleComparison As RuleComparisonEnum
Arguments
Step
Step object
The values for the property are:
Constant |
Value |
Description |
vbldRuleNone |
-1 |
Always perform the step (no conditional rule). |
vbldRuleUndefined |
0 |
Build the step only if the macro in RuleExpression is undefined. |
vbldRuleDefined |
1 |
Build if the macro in RuleExpression is defined. |
vbldRuleContains |
2 |
Build if RuleExpression contains the expression in RuleCompareTo property |
vbldRuleEqual |
3 |
Build if RuleExpression does not contain the expression in RuleCompareTo |
vbldRuleNotEqual |
4 |
Build if RuleExpression equals RuleCompareTo |
vbldRuleDoesNotContain |
5 |
Build if RuleExpression does not equal RuleCompareTo |
vbldRuleTrue |
6 |
Build if RuleExpression is true (a non-zero number or the string True). |
vbldRuleFalse |
7 |
Build if RuleExpression is true (0 or the string False). |
See Also
Applies to Step object