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 C3822

'property' : name of the property method must start with 'get_' or 'set_'

Property method names must start with either get_ or set_.

The following sample generates C3822:

#using <mscorlib.dll>

__gc struct A {
   __property int get_Size() {
      return 0;
   }

   __property void SET_Size(int i) {   // C3822
   }

   /* use the property below to resolve the error
   __property void set_Size(int i) {
   }
   */
};

void main() {
}