Click or drag to resize
ArchivableDictionaryTryGetValue Method
Gets the value associated with the specified key.

Namespace: Rhino.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
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.
See Also