NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2774

'identifier' : no 'put' method is associated with this property

A data member declared with property has no put function, but an expression tries to set its value.

Example

struct A {
   __declspec(property(get=GetProp)) int prop;
   int GetProp(void);
};

void f(A* pa, int val)
{
    pa->prop = val;      // error C2774
    pa->prop++;      // error C2774
}