This documentation is archived and is not being maintained.

In (Visual Basic)

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

The In keyword can be used in the following contexts:

For Each...Next Statement (Visual Basic)

From Clause (Visual Basic)