Errore del compilatore C2777
è possibile specificare un solo metodo 'put' per ogni proprietà
Un modificatore declspec della proprietà aveva più di una put
proprietà.
L'esempio seguente genera l'errore 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);
};