UIPrintInteractionController.PresentAsync 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.
Overloads
PresentAsync(Boolean) |
Presents an iPhone printing user interface. |
PresentAsync(Boolean, Boolean) |
Presents an iPhone printing user interface asynchronously. |
PresentAsync(Boolean)
Presents an iPhone printing user interface.
public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync (bool animated);
abstract member PresentAsync : bool -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
override this.PresentAsync : bool -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
Parameters
- animated
- Boolean
to animate the sheet display, to display immediately.
Returns
A task that represents the asynchronous Present operation. The value of the TResult parameter is of type Action<UIKit.UIPrintInteractionResult>
.
Applies to
PresentAsync(Boolean, Boolean)
Presents an iPhone printing user interface asynchronously.
public virtual System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult> PresentAsync (bool animated, out bool result);
abstract member PresentAsync : bool * -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
override this.PresentAsync : bool * -> System.Threading.Tasks.Task<UIKit.UIPrintInteractionResult>
Parameters
- animated
- Boolean
true
to animate the sheet display, false
to display immediately.
- result
- Boolean
The result of the present operation.
Returns
A task that represents the asynchronous Present operation. The value of the TResult parameter is of type UIPrintInteractionResult.