ResourceContext.GetForCurrentView ResourceContext.GetForCurrentView ResourceContext.GetForCurrentView ResourceContext.GetForCurrentView ResourceContext.GetForCurrentView Method

Definition

Gets a default ResourceContext associated with the current view for the currently running application.

public : static ResourceContext GetForCurrentView()
static ResourceContext GetForCurrentView() const;
public static ResourceContext GetForCurrentView()
Public Shared Function GetForCurrentView() As ResourceContext
var resourceContext = Windows.ApplicationModel.Resources.Core.ResourceContext.getForCurrentView();
Returns

The default context associated with the current view.

Remarks

This method fails if it is called in a windowless thread.