DataSourceDictionary.SetDataSourceDictionary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.