CDicObj.Addmethod
Adds a key and item pair to the associative array.
Syntax
FUNCTION Add (BYREF dvKey AS DVARIANT, BYREF dvItem AS DVARIANT) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
dvKey | The key associated with the item being added. | |
dvItem | The item associated with the key being added. |
Return value
An error occurs if the key already exists.
Description
Adds a key and item pair to the associtive array.
Reference
- Include file
CDicObj.inc - Defined in AfxNova/CDicObj.inc:237
- Documented in Windows/Windows Script/CDicObj Class.md
- Topic: CDicObj Class