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 C3176

'type' : cannot declare local value type

A class can only be declared as a value type at global scope.

The following sample generates C3176:

#import <mscorlib.dll>
// Declare the class here to resolve the error.
void main() {
   __value class V {   // C3176
   };
}