InitParams Property
Collapse the table of content
Expand the table of content

StartupEventArgs.InitParams Property

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

Gets the initialization parameters that were passed as part of HTML initialization of a Windows Phone app.

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

'Declaration
Public ReadOnly Property InitParams As IDictionary(Of String, String)

Property Value

Type: System.Collections.Generic.IDictionary(Of String, String)
The set of initialization parameters, as a dictionary with key strings and value strings.

The initialization parameters are passed as the initParams parameter when you embed the Windows Phone app in a Web page.

The input format of this parameter starts as a single string with individual parameters delimited using a comma (,), and keys delimited from values using an equal sign (=). For example, "key1=value1,key2=value2,key3=value3". The delimiters are processed so that this API can provide them as a dictionary.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft