In Clause (Visual Basic)


Updated: July 20, 2015

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

Specifies the group that the loop variable is to traverse in a For Each loop, or specifies the collection to query in a From, Join, or Group Join clause.

The In keyword can be used in the following contexts:

For Each...Next Statement

From Clause

Join Clause

Group Join Clause