E2347 Parameter mismatch in access specifier 'specifier' of property 'property' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

The parameters of the member function used to access a property don't match the expected parameters.

Example:

structpbase
{
       voidSetter1(void){}
       voidSetter2(int){}
     int __property ip1 = { write = Setter1 }; // Error
     int __property ip2 = { write = Setter2 }; // OK
};