Share via


GraphicsCapturePicker.PickSingleItemAsync Method

Definition

Opens the capture picker and allows the customer to pick a target on the screen to capture.

public:
 virtual IAsyncOperation<GraphicsCaptureItem ^> ^ PickSingleItemAsync() = PickSingleItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GraphicsCaptureItem> PickSingleItemAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GraphicsCaptureItem> PickSingleItemAsync();
function pickSingleItemAsync()
Public Function PickSingleItemAsync () As IAsyncOperation(Of GraphicsCaptureItem)

Returns

The capture item representing the target that the customer picked.

Attributes

Remarks

This API must be called on the UI thread or an exception will be thrown. For more information, see CoreDispatcher.RunAsync.

Applies to