ApplicationInitParams Property
Collapse the table of content
Expand the table of content

ApplicationServiceContext.ApplicationInitParams Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the initialization parameters specified by the host Web page when embedding the Windows Phone app.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public Dictionary<string, string> ApplicationInitParams { get; }

Property Value

Type: System.Collections.Generic.Dictionary<String, String>
The initialization parameters as a dictionary of key/value pairs.

An application extension service can use the ApplicationInitParams property to get the application initialization parameters as specified by the Web page that hosts the Windows Phone app.

You can use isolated storage to save initialization parameters before a user installs an application. You can then retrieve the parameters from isolated storage when the application launches.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft