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 C3108

'attribute' : this attribute cannot be used in conjunction with the attribute 'attribute'

The use of some attributes is mutually exclusive. For example, in the following code, the attempt to define a variable with the propget and property attributes causes this error.

typedef long HRESULT;

#pragma keyword("interface", on)

                        
__interface IMyIF {
   [ propget, property(put=0) ]
   int data;
};