Share via


ApplicationContext.Init Method (IDictionary<String, String>)

Initializes the application context information with the specified parameters that are passed to the Silverlight application.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll)

Syntax

'Declaration
Public Shared Sub Init ( _
    initParams As IDictionary(Of String, String) _
)
'Usage
Dim initParams As IDictionary(Of String, String)

ApplicationContext.Init(initParams)
public static void Init(
    IDictionary<string, string> initParams
)

Parameters

Remarks

If the initParams value is null, this method will try to use the parameters of the InitParams() property. The InvalidOperationException exception is thrown if the method cannot retrieve the parameters.

See Also

Reference

ApplicationContext Class

ApplicationContext Members

Init Overload

Microsoft.SharePoint.Client Namespace