IAppActions.SetAsync(IEnumerable<AppAction>) Method

Definition

Sets the app actions that will be available for this app.

public:
 System::Threading::Tasks::Task ^ SetAsync(System::Collections::Generic::IEnumerable<Microsoft::Maui::ApplicationModel::AppAction ^> ^ actions);
public System.Threading.Tasks.Task SetAsync (System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.AppAction> actions);
abstract member SetAsync : seq<Microsoft.Maui.ApplicationModel.AppAction> -> System.Threading.Tasks.Task
Public Function SetAsync (actions As IEnumerable(Of AppAction)) As Task

Parameters

actions
IEnumerable<AppAction>

A collection of AppAction that is to be set for this app.

Returns

A Task object with the current status of the asynchronous operation.

Applies to