Load method
Collapse the table of content
Expand the table of content

IFrameworkView.Load method

A method that loads or activates any external resources used by the app view before Run is called.

Syntax


void Load(
  string entryPoint
)

Parameters

entryPoint

Type: System.String [.NET] | Platform::String [C++]

The name of the entry point method for the activated type.

Remarks

If you are implementing a DirectX view provider, in this method i you create DirectX-specific resources for your view, like the render target surface and the attached swap chain. If you are activating an out-of-process Windows Runtime type, the app object supplies the name of the entry point method for that type.

These three methods are called, in order, after the app object (defined by a CoreApplication singleton instance) has started.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.winmd

See also

IFrameworkView

 

 

Show:
© 2016 Microsoft