[This is preliminary documentation and is subject to change.]

Returns a dictionary of the values for the array of keys given. Calls valueForKey for each key given. Equivalent to Cocoa's -dictionaryWithValuesForKeys:.

Namespace:  KNKVC
Assembly:  KNKVC (in KNKVC.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Dictionary<string, Object> dictionaryWithValuesForKeys(
	this Object o,
	string[] keys
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function dictionaryWithValuesForKeys ( _
	o As Object, _
	keys As String() _
) As Dictionary(Of String, Object)
Visual C++
[ExtensionAttribute]
public:
static Dictionary<String^, Object^>^ dictionaryWithValuesForKeys(
	Object^ o, 
	array<String^>^ keys
)

Parameters

o
Type: System..::.Object
The base object.
keys
Type: array< System..::.String >[]()[]
An array of keys (NOT key paths) to retrieve.

Return Value

A Dictionary(String, Object) containing the values for the given keys.

See Also