C++/WinRT gotcha: Setting properties incorrectly

4 · Raymond Chen · July 29, 2020, 3 p.m.
Getting and setting a Windows Runtime property looks like this: Language Getter Setter C# v = o.Property; o.Property = 42; C++/CX v = o->Property; o->Property = 42; C++/WinRT v = o.Property(); o.Property(42); JavaScript v = o.property; o.property = 42; Python v = o.property o.property = 42 Somebody is the odd man out. The post C++/WinRT gotcha: Setting properties incorrectly appeared first on The Old New Thing....