Compiler Error C2777

only one 'put' method can be specified per property

You can only specify one put function in the property extended attribute. This error occurs when multiple put functions are specified. For example:

struct A {
   __declspec(property(put=PutProp,put=PutPropToo))
      int prop;      // error C2777
   int PutProp(void);
   int PutPropToo(void);
};