Bagikan melalui


SettingsPaneCommandsRequest.ApplicationCommands Properti

Definisi

Catatan

SettingsPaneCommandsRequest tidak digunakan lagi, dan mungkin tidak berfungsi pada semua versi Windows 10. Alih-alih menggunakan SettingsPane, integrasikan opsi pengaturan ke dalam pengalaman aplikasi. Untuk informasi selengkapnya, lihat Panduan untuk pengaturan aplikasi.

Vektor yang tersedia selama peristiwa CommandsRequested . Tambahkan Pengaturan Perintahkan objek ke dalamnya untuk membuatnya tersedia untuk UI 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)

Nilai Properti

Vektor objek SettingsCommand .

Atribut

Berlaku untuk