Bagikan melalui


WebAccountCommand Kelas

Definisi

Mengaitkan perintah dengan WebAccount di panel pengaturan akun..

public ref class WebAccountCommand sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class WebAccountCommand final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebAccountCommand final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountCommandFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
public sealed class WebAccountCommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountCommandFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebAccountCommand
function WebAccountCommand(webAccount, invoked, actions)
Public NotInheritable Class WebAccountCommand
Warisan
Object Platform::Object IInspectable WebAccountCommand
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Tambahkan instans kelas WebAccountCommand ke koleksi WebAccountCommands .

Konstruktor

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Menginisialisasi instans baru kelas WebAccountCommand .

Properti

Actions

Mendapatkan tindakan yang dilakukan perintah di akun web di panel akun.

Invoked

Mendapatkan delegasi yang dipanggil saat pengguna memilih akun dan tindakan tertentu di panel pengaturan akun.

WebAccount

Mendapatkan akun web yang terkait dengan perintah saat ini.

Berlaku untuk

Lihat juga