GraphicsCapturePicker.PickSingleItemAsync 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.
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.