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
initParams
Type: System.Collections.Generic.IDictionary<String, String>A collection of key/value pairs that contains the parameters that are used to initialize the application context information.
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.