ScreenCapture.GetForCurrentView Method

Definition

Gets the ScreenCapture object associated with the app's current view.

public:
 static ScreenCapture ^ GetForCurrentView();
 static ScreenCapture GetForCurrentView();
public static ScreenCapture GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As ScreenCapture

Returns

The ScreenCapture object associated with the app's current view.

Remarks

Important

The ScreenCapture feature is only supported for mobile devices running Windows Phone 8.1. This API is not supported on Windows 10.

Use this method to obtain an instance of the ScreenCapture class.

Applies to