0 out of 2 rated this helpful - Rate this topic

IFrameworkView.Load method

Applies to Windows and Windows Phone

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

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.