Property accessors cannot be declared '<keyword>'
A Get or Set procedure declaration includes a keyword that is not valid on a property procedure.
The Get Statement and Set Statement (Visual Basic) allow only an access modifier (Public, Protected, Friend, Protected Friend, Private).
Error ID: BC31099
To correct this error
- Remove the invalid keyword from the Get or Set statement.
See Also
Tasks
How to: Declare a Property with Mixed Access Levels