Export (0) Print
Expand All

DoWhile Activity Designer

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The DoWhile activity executes the activity contained in its Body at least once, until a specified condition evaluates to false. If you need the activity contained in a loop body to be executed zero or more times, use the While activity instead.

DoWhile Properties in the Workflow Designer

The following table shows the most useful DoWhile activity properties and describes how to use them in the designer.

 

Property Name Required Usage

Body

False

The activity to execute while the condition is true. To add the Body activity, drop an activity from the toolbox into the Body box on the DoWhile activity designer with hint text “Drop Activity Here”.

Condition

True

The condition to evaluate after each iteration of the loop. To set the Condition, type a Visual Basic expression in the Condition box on the DoWhile activity designer or in the property grid.

See Also

Fill out a survey about this topic for Microsoft.


Build Date:

2012-08-02
Show:
© 2014 Microsoft