MaterialRefsAdd Method (KeyValuePairGuid, MaterialRef) |
Adds an item to this dictionary.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
value is null.
|
| ArgumentException |
key is empty.
|
See Also