Click or drag to resize

ArchivableDictionaryTryGetValue Method

Gets the value associated with the specified key.

Namespace:  Rhino.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool TryGetValue(
	string key,
	out Object value
)

Parameters

key
Type: SystemString
The key of the value to get.
value
Type: SystemObject
When this method returns and if the key is found, contains the value associated with the specified key; otherwise, null. This parameter is passed uninitialized.

Return Value

Type: Boolean
true if the dictionary contains an element with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionKey is null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.10
See Also