A Microsoft platform for building and publishing apps for Windows devices.
Hello,
Welcome to Microsoft Q&A!
If you want to set the text, just need to pass the string value to the .Text() method, like
myTextBlock().Text(L"Hello");
Here is the document about TextBlock.Text in C++/WinRT, you can check its syntax. In addition, for more details about C++/WinRT, you can refer to this document.