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.
Asynchronously adds a menu item to the document menue.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task AddOptionAsync(string title, UIKit.UIImage? image, UIKit.UIDocumentMenuOrder order);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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
- order
- UIDocumentMenuOrder
Returns
A task that represents the asynchronous AddOption operation
- Attributes
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.