RAD Studio
ContentsIndex
PreviousUpNext
E2347: Parameter mismatch in access specifier 'specifier' of property 'property' (C++)

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

 

structpbase
{
       voidSetter1(void){}
       voidSetter2(int){}
     int __property ip1 = { write = Setter1 }; // Error
     int __property ip2 = { write = Setter2 }; // OK
};
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!