Control Flow Summary (Visual Basic)


Updated: July 20, 2015

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Visual Basic language keywords and run-time library members are organized by purpose and use.

ActionLanguage element
Branch.GoTo, On Error
Exit or pause the program.End, Exit, Stop
Loop.Do...Loop, For...Next, For Each...Next, While...End While, With
Make decisions.Choose, If...Then...Else, Select Case, Switch
Use procedures.Call, Function, Property, Sub

Visual Basic Runtime Library Members