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

public bool TryGetValue( Guid key, out MaterialRef value )
Public Function TryGetValue ( key As Guid, <OutAttribute> ByRef value As MaterialRef ) As Boolean
Parameters
- key
- Type: SystemGuid
The plug-in Id whose MaterialRef to get. - value
- Type: Rhino.DocObjectsMaterialRef
When this method returns, the MaterialRef associated with the specified key, if the key is found; otherwise, null. This parameter is passed uninitialized.
Return Value
Type: Booleantrue if this dictionary contains a MaterialRef with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14