 | AttributeTableAdd Method (Object, Object) |
Maps the passed key to the specified value in this attribute table,
if it hasn't already been mapped before.
Namespace: Slash.Collections.AttributeTablesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic void Add(
Object key,
Object value
)
Public Sub Add (
key As Object,
value As Object
)
public:
virtual void Add(
Object^ key,
Object^ value
) sealed
abstract Add :
key : Object *
value : Object -> unit
override Add :
key : Object *
value : Object -> unit
Parameters
- key
- Type: SystemObject
Key to map. - value
- Type: SystemObject
Value to map the key to.
Implements
IAttributeTableAdd(Object, Object)
ExceptionsException | Condition |
---|
ArgumentException | An element with the same key already exists in the attribute table. |
See Also