Edit

Share via


Attributes cannot be applied to local variables

Attributes cannot be applied to local variables.

Error ID: BC30660

To correct this error

  1. Declare this variable at the next higher level of scope, such as the class or module level.

See also