YouTip LogoYouTip

Met Add

# ASP Add Method * * Complete Dictionary Object Reference Manual](#) * * * The Add method adds a new key/item pair to a Dictionary object. **Note:** If the key already exists, an error will occur. ### Syntax DictionaryObject.Add(key,item) | Parameter | Description | | --- | --- | | key | Required. The key value associated with the item. | | item | Required. The item value associated with the key. | * * * ### Example Output: The value of key gr is: Green * * Complete Dictionary Object Reference Manual](#)
← Met ExistsProp Key β†’