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. |