RhinoCommon API
MaterialRefsAdd Method (Guid, MaterialRef) |
Add or replace an element with the provided key and value to this dictionary.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public void Add( Guid key, MaterialRef value )
Public Sub Add ( key As Guid, value As MaterialRef )
Parameters
- key
- Type: SystemGuid
The plug-in associated with this MaterialRef - value
- Type: Rhino.DocObjectsMaterialRef
MaterialRef to add to this dictionary
Implements
IDictionaryTKey, TValueAdd(TKey, TValue)
Exception | Condition |
---|---|
ArgumentNullException | value is null. |
ArgumentException | key is empty. |

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