Udostępnij za pośrednictwem


Range variable name cannot match the name of a member of the 'Object' class

A range variable in a LINQ query matches the name of a member of the Object class. This creates a conflict with the objects created by Visual Basic for the LINQ query.

Error ID: BC36606

To correct this error

  • Choose a new name for the range variable that does not match the name of any member of the Object class.

See Also

Concepts

Introduction to LINQ in Visual Basic

Reference

Object

From Clause (Visual Basic)

Aggregate Clause (Visual Basic)

Select Clause (Visual Basic)