While (Visual Basic) 

Specifies a condition that allows the execution of a Do loop to continue.

Remarks

The While keyword is not the same as the opening statement of the While...End While block.

The While keyword can be used in this context:

Do...Loop Statement

See Also

Reference

While...End While Statement (Visual Basic)