Share via


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 引進)

適用於