Dela via


IFrameworkView.Load(String) Method

Definition

Loads or activates any external resources used by the app view before Run is called.

public:
 void Load(Platform::String ^ entryPoint);
void Load(winrt::hstring const& entryPoint);
public void Load(string entryPoint);
function load(entryPoint)
Public Sub Load (entryPoint As String)

Parameters

entryPoint
String

Platform::String

winrt::hstring

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

Remarks

If you are implementing a DirectX view provider, in this method 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.

Applies to