HostedWebApplication.UpdateContextValue Method

Definition

Overloads

UpdateContextValue(Dictionary<String,String>)

Accepts a Dictionary collection of keys and values and adds them (or updates it if it currently exists) to the current context. Then notify other apps the context has changed.

UpdateContextValue(String, String)

Accepts a name and value pair and adds or updates it if it currently exists to the current context. This is public so it can be called via scripts as well.

UpdateContextValue(Dictionary<String,String>)

Accepts a Dictionary collection of keys and values and adds them (or updates it if it currently exists) to the current context. Then notify other apps the context has changed.

public:
 void UpdateContextValue(System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ contextValues);
public void UpdateContextValue (System.Collections.Generic.Dictionary<string,string> contextValues);
member this.UpdateContextValue : System.Collections.Generic.Dictionary<string, string> -> unit
Public Sub UpdateContextValue (contextValues As Dictionary(Of String, String))

Parameters

contextValues
Dictionary<String,String>

Context values used for update.

Applies to

UpdateContextValue(String, String)

Accepts a name and value pair and adds or updates it if it currently exists to the current context. This is public so it can be called via scripts as well.

public:
 void UpdateContextValue(System::String ^ name, System::String ^ val);
public void UpdateContextValue (string name, string val);
member this.UpdateContextValue : string * string -> unit
Public Sub UpdateContextValue (name As String, val As String)

Parameters

name
String

Key (name) of the context item to update.

val
String

Value of the context item to update.

Applies to