StoreConfiguration.IsPinToDesktopSupported 方法

定义

确定是否可将应用固定到当前设备上的桌面。

public:
 static bool IsPinToDesktopSupported();
 static bool IsPinToDesktopSupported();
public static bool IsPinToDesktopSupported();
function isPinToDesktopSupported()
Public Shared Function IsPinToDesktopSupported () As Boolean

返回

Boolean

bool

如果应用可以固定到当前设备上的桌面,则为 True;否则为 false。 例如,如果当前设备没有桌面,则此方法返回 false。

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

适用于