WebAccountCommand WebAccountCommand WebAccountCommand WebAccountCommand WebAccountCommand Class

Definition

Associates a command with a WebAccount in the account settings pane..

public : sealed class WebAccountCommand
struct winrt::Windows::UI::ApplicationSettings::WebAccountCommand
public sealed class WebAccountCommand
Public NotInheritable Class WebAccountCommand
var webAccountCommand = new webAccountCommand(webAccount, invoked, actions);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Add instances of the WebAccountCommand class to the WebAccountCommands collection.

Constructors

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Initializes a new instance of the WebAccountCommand class.

Properties

Actions Actions Actions Actions Actions

Gets the actions that the command performs on the web account in the accounts pane.

Invoked Invoked Invoked Invoked Invoked

Gets the delegate that's invoked when the user selects an account and a specific action in the account settings pane.

WebAccount WebAccount WebAccount WebAccount WebAccount

Gets the web account that's associated with the current command.

See also