ResourceContext.GetForCurrentView 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.
Gets a default ResourceContext associated with the current view for the currently running application.
public:
static ResourceContext ^ GetForCurrentView();
static ResourceContext GetForCurrentView();
public static ResourceContext GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As ResourceContext
Returns
The default context associated with the current view.
Remarks
This method fails if it is called in a windowless thread.