UIDocumentMenuViewController.AddOptionAsync 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.
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 .
- order
- UIDocumentMenuOrder
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.