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 C2779

'declaration' : property methods can only be associated with non-static data members

The property extended attribute is incorrectly applied to a static data member.

Example

struct A {
   static __declspec(property(put=PutProp)) 
      int prop;      // error C2779
   int PutProp(void);
};