SettingsPaneCommandsRequest.ApplicationCommands 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 对象的向量。
- 属性