RhinoCommon API
MaterialRefsAdd Method (KeyValuePairGuid, MaterialRef) |
Adds an item to this dictionary.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public void Add( KeyValuePair<Guid, MaterialRef> item )
Public Sub Add ( item As KeyValuePair(Of Guid, MaterialRef) )
Parameters
- item
- Type: System.Collections.GenericKeyValuePairGuid, MaterialRef
The object to add to this dictionary
Implements
ICollectionTAdd(T)
Exception | Condition |
---|---|
ArgumentNullException | value is null. |
ArgumentException | key is empty. |

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