StoreConfiguration.PinToDesktop(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pins the specified app to the desktop for the all users on the current device.
public:
static void PinToDesktop(Platform::String ^ appPackageFamilyName);
static void PinToDesktop(winrt::hstring const& appPackageFamilyName);
public static void PinToDesktop(string appPackageFamilyName);
function pinToDesktop(appPackageFamilyName)
Public Shared Sub PinToDesktop (appPackageFamilyName As String)
Parameters
- appPackageFamilyName
-
String
Platform::String
winrt::hstring
The package family name of the app to pin to the desktop.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|