Structure '<structurename>' must contain at least one instance member variable or Event declaration

A functionally empty structure occurs. At least one variable member must be declared between the Structure statement and the End Structure statement.

Error ID: BC30281

To correct this error

  • Add a Dim statement or an Event statement to the structure.

See Also

Reference

Structure Statement

Dim Statement (Visual Basic)

Event Statement