Udostępnij za pośrednictwem


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();
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.

Applies to