IAppActions.SetAsync(IEnumerable<AppAction>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.