'ReadOnly' property '<propertyname>' cannot be the target of an assignment
A ReadOnly property occurs in a context that assigns a value to it. Only writable variables, properties, and array elements can have values assigned to them during execution.
Error ID: BC30098
To correct this error
- Remove the ReadOnly keyword from the Property statement declaring the variable, or remove the statement that assigns a value to it.