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 方法将引发异常:

  • 它从贴靠的应用调用。
  • 当当前应用没有焦点时,将调用它。
  • 当窗格已显示时,将调用它。

适用于