Share via


ActionInvocationContext.ActionId Property

Definition

Gets the ID of the app action for the current invocation.

public:
 property Platform::String ^ ActionId { Platform::String ^ get(); };
winrt::hstring ActionId();
public string ActionId { get; }
var string = actionInvocationContext.actionId;
Public ReadOnly Property ActionId As String

Property Value

String

Platform::String

winrt::hstring

The ID of the app action. The action ID is declared in the Action definition JSON file. For more information, see Action definition JSON schema for App Actions on Windows.

Applies to