Поделиться через


ICoreApplication interface

Enables apps to handle state changes, manage windows, and integrate with a variety of UI frameworks.

Members

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

  • Methods

Methods

The ICoreApplication interface has these methods.

Method Description
add_Resuming

Adds an event handler for the Resuming event.

add_Suspending

Adds an event handler for the app suspending operation.

get_ID

Gets the package-relative app identifier (PRAID) for the process.

get_Properties

Stores information about the application object for the duration of the running process. Is used by applications as well as UI frameworks.

GetCurrentView

Returns a pointer to the active view of the app.

remove_Resuming

Removes the specified event handler for the Resuming event.

remove_Suspending

Removes the specified event handler for the Suspending event.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.ApplicationModel.Core.h

IDL

Windows.ApplicationModel.Core.idl