Legacy Documentation: Version 2017.1 (Go to current version)
Universal Windows Platform: Examples
Known issues
Other Versions

Universal Windows Platform: Code snippets

How to to implement “Rate Us” functionality?

Associate these lines with button click.

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

• 2017–05–16 Page amended with no editorial review

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答