Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
only one 'put' method can be specified per property
Remarks
A property declspec modifier had more than one put
property.
Example
The following example generates C2777:
// C2777.cpp
struct A {
__declspec(property(put=PutProp,put=PutPropToo)) // C2777
// try the following line instead
// __declspec(property(put=PutProp))
int prop;
int PutProp(void);
int PutPropToo(void);
};