SettingsPane.Show 方法

定義

注意

SettingsPane已被取代,而且可能無法在所有版本的 Windows 10上運作。 不要使用 SettingsPane,而是將設定選項整合到應用程式體驗中。 如需詳細資訊,請參閱 應用程式設定的指導方針

向使用者顯示 [設定] [常用鍵] 窗格。

public:
 static void Show();
/// [Windows.Foundation.Metadata.Deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.UI.ApplicationSettings.ApplicationsSettingsContract)]
 static void Show();
/// [Windows.Foundation.Metadata.Deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.UI.ApplicationSettings.ApplicationsSettingsContract")]
 static void Show();
[Windows.Foundation.Metadata.Deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.UI.ApplicationSettings.ApplicationsSettingsContract))]
public static void Show();
[Windows.Foundation.Metadata.Deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.UI.ApplicationSettings.ApplicationsSettingsContract")]
public static void Show();
function show()
Public Shared Sub Show ()
屬性

備註

如果下列其中一個為 true,Show 方法會引發例外狀況:

  • 它會從已貼齊的應用程式呼叫。
  • 當目前的應用程式沒有焦點時,就會呼叫它。
  • 當窗格已經顯示時,就會呼叫它。

適用於