Language
Edit

DataSourceDictionary.SetDataSourceDictionary Method

Definition

Set the dictionary being managed by this data source.

public void SetDataSourceDictionary(System.Collections.Generic.Dictionary<string,object> dataDictionary);
member this.SetDataSourceDictionary : System.Collections.Generic.Dictionary<string, obj> -> unit
Public Sub SetDataSourceDictionary (dataDictionary As Dictionary(Of String, Object))

Parameters

dataDictionary
Dictionary<String,Object>

The dictionary to set.

Remarks

This is useful if the dictionary to use is already populated elsewhere and not via SetValue().

NOTE: Make sure to call NotifyAllChanged() method if you want data consumers to update to the new values.

Applies to