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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.