RhinoCommon API
ArchivableDictionaryTryGetValue Method |
Gets the value associated with the specified key.
Namespace: Rhino.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool TryGetValue( string key, out Object value )
Public Function TryGetValue ( key As String, <OutAttribute> ByRef value As Object ) As Boolean
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: Booleantrue if the dictionary contains an element with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exception | Condition |
---|---|
ArgumentNullException | Key is null. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8