This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2274
'type' : illegal as right side of '.' operator
A type appears as the right operand of a member-access (.) operator.
Possible cause
- Trying to access a user-defined type conversion. Use the keyword operator between the period and type.
Example
i = ClassName.int( a ); // error
i = ClassName.operator int( a ); // OK