Delen via


IFrameworkView.Initialize(CoreApplicationView) Method

Definition

Initializes the app view. Called when an app object is launched.

public:
 void Initialize(CoreApplicationView ^ applicationView);
void Initialize(CoreApplicationView const& applicationView);
public void Initialize(CoreApplicationView applicationView);
function initialize(applicationView)
Public Sub Initialize (applicationView As CoreApplicationView)

Parameters

applicationView
CoreApplicationView

The default view provided by the app object. You can use this instance in your implementation to obtain the CoreWindow created by the app object, and register callbacks for the Activated event.

Remarks

This method is called by CoreApplication.Run on the view object that implements this interface. It is the first method called on the view implementation when the app object is activated.

Applies to