Version: 5.6
Windows Store Apps: Examples
Known issues

Windows Store Apps: Code snippets

如何实现“Rate Us”功能?

将以下代码行与按钮点击行为相关联。

#if NETFX_CORE
            string productID =  Windows.ApplicationModel.Package.Current.Id.FamilyName;
            Application.OpenURL("ms-windows-store://pdp/?ProductId=" + productID);
#endif
Windows Store Apps: Examples
Known issues