[This is preliminary documentation and is subject to change.]
Sets a dictionary of keys at once. Calls setValueForKey() for each
key in the Dictionary. Equivalent to Cocoa's –setValuesForKeysWithDictionary:.
Namespace:
KNKVCAssembly: KNKVC (in KNKVC.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static void setValuesForKeysWithDictionary( this Object o, Dictionary<string, Object> keysAndValues ) |
| Visual Basic (Declaration) |
|---|
<ExtensionAttribute> _ Public Shared Sub setValuesForKeysWithDictionary ( _ o As Object, _ keysAndValues As Dictionary(Of String, Object) _ ) |
| Visual C++ |
|---|
[ExtensionAttribute] public: static void setValuesForKeysWithDictionary( Object^ o, Dictionary<String^, Object^>^ keysAndValues ) |
Parameters
- o
- Type: System..::.Object
The base object.
- keysAndValues
- Type: System.Collections.Generic..::.Dictionary<(Of <(String, Object>)>)
A Dictionary of keys (NOT key paths) and values to set.