Compartilhar via


SettingsPaneCommandsRequest.ApplicationCommands Propriedade

Definição

Observação

SettingsPaneCommandsRequest foi preterido e pode não funcionar em todas as versões do Windows 10. Em vez de usar um SettingsPane, integre as opções de configurações à experiência do aplicativo. Para obter mais informações, consulte Diretrizes para configurações de aplicativo.

Um vetor disponível durante o evento CommandsRequested . Acrescente os objetos SettingsCommand a ele para disponibilizá-los para a interface do usuário SettingsPane.

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)

Valor da propriedade

O vetor dos objetos SettingsCommand .

Atributos

Aplica-se a