Closed minfrin closed 1 year ago
Thanks, @minfrin. The language drop-down on API reference topics controls only the language used in the syntax block. And in this case it's functioning correctly. That picker isn't meant to pick between languages for Examples sections. Most topics have only C# code examples, and this is one of them.
To determine the C++ equivalent code in this case, you could have a look at the C++/WinRT docs, especially Move to C++/WinRT from C#.
Thanks! -Steve
In the C++ docs, the examples are for C#.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.