次の方法で共有


ExternalApplication.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 it (or updates it if it currently exists) to the current context. Then notify other apps the context has changed. The caller is NO LONGER responsible for notifying other apps of the context change via this.ChangeContext().

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>

Dictionary of context values

Applies to

UpdateContextValue(String, String)

Accepts a name and value pair and adds it (or updates it if it currently exists) to the current context. Then notify other apps the context has changed. The caller is NO LONGER responsible for notifying other apps of the context change via this.ChangeContext().

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

val
String

Value

Applies to