RhinoCommon API
ArchivableDictionarySet Method (String, Color) |
Sets a Color.
Namespace: Rhino.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool Set( string key, Color val )
Public Function Set ( key As String, val As Color ) As Boolean
Parameters
- key
- Type: SystemString
A text key. - val
- Type: System.DrawingColor
A value for that key.Because Color has value semantics, changes to the assigning value will leave this entry unchanged.
Return Value
Type: Booleantrue if set operation succeeded, otherwise false.

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