Partager via


IViewProvider interface

Represents a view in an application.

When to implement

UI frameworks or applications should implement this interface to integrate with the application object around creating views of an application.

Members

The IViewProvider interface inherits from the IUnknown interface. IViewProvider also has these types of members:

  • Methods

Methods

The IViewProvider interface has these methods.

Method Description
Initialize

Initializes the application object.

Load

Loads the view.

Run

Passes execution to the view provider.

Uninitialize

Uninitializes the view, allowing it to perform a code cleanup.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.ApplicationModel.Core.h

IDL

Windows.ApplicationModel.Core.idl