Edytuj

Udostępnij za pośrednictwem


UIDocumentMenuViewController.AddOptionAsync Method

Definition

Adds a menu item, which runs the completionHandler action when it is clicked, to the document menue.

public virtual System.Threading.Tasks.Task AddOptionAsync (string title, UIKit.UIImage image, UIKit.UIDocumentMenuOrder order);
abstract member AddOptionAsync : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder -> System.Threading.Tasks.Task
override this.AddOptionAsync : string * UIKit.UIImage * UIKit.UIDocumentMenuOrder -> System.Threading.Tasks.Task

Parameters

title
String
image
UIImage

To be added.This parameter can be .

Returns

A task that represents the asynchronous AddOption operation

Remarks

The AddOptionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to