Share via


SettingsPaneCommandsRequest.ApplicationCommands Propriété

Définition

Notes

SettingsPaneCommandsRequest est déconseillé et peut ne pas fonctionner sur toutes les versions de Windows 10. Au lieu d’utiliser un ParamètresPane, intégrez les options de paramètres à l’expérience de l’application. Pour plus d’informations, consultez Recommandations pour les paramètres d’application.

Vecteur disponible pendant l’événement CommandsRequested . Ajoutez des objets SettingsCommand à celui-ci pour les rendre disponibles dans l’interface utilisateur 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)

Valeur de propriété

Vecteur des objets SettingsCommand .

Attributs

S’applique à