SettingsPaneCommandsRequest.ApplicationCommands 属性

定义

注意

SettingsPaneCommandsRequest 已弃用,可能不适用于所有版本的 Windows 10。 将设置选项集成到应用体验中,而不是使用 SettingsPane。 有关详细信息,请参阅 应用设置指南

在 CommandsRequested 事件期间可用的向量。 将 SettingsCommand 对象追加到其中,使其可用于 SettingsPaneUI。

public:
 property IVector<SettingsCommand ^> ^ ApplicationCommands { IVector<SettingsCommand ^> ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.UI.ApplicationSettings.ApplicationsSettingsContract)]
IVector<SettingsCommand> ApplicationCommands();
/// [get: Windows.Foundation.Metadata.Deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.UI.ApplicationSettings.ApplicationsSettingsContract")]
IVector<SettingsCommand> ApplicationCommands();
public IList<SettingsCommand> ApplicationCommands { [Windows.Foundation.Metadata.Deprecated("SettingsPaneCommandsRequest 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))] get; }
public IList<SettingsCommand> ApplicationCommands { [Windows.Foundation.Metadata.Deprecated("SettingsPaneCommandsRequest is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.UI.ApplicationSettings.ApplicationsSettingsContract")] get; }
var iVector = settingsPaneCommandsRequest.applicationCommands;
Public ReadOnly Property ApplicationCommands As IList(Of SettingsCommand)

属性值

SettingsCommand 对象的向量。

属性

适用于