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

Gets the value for the given key in the dictionary.

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

Syntax

C#
public static Object valueForKey(
	this IDictionary o,
	string key
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function valueForKey ( _
	o As IDictionary, _
	key As String _
) As Object
Visual C++
[ExtensionAttribute]
public:
static Object^ valueForKey(
	IDictionary^ o, 
	String^ key
)

Parameters

o
Type: System.Collections..::.IDictionary
The base dictionary.
key
Type: System..::.String
The key to retrieve.

Return Value

The value contained within the dictionary for the given key, or null if the key doesn't exist.

See Also