Add
Description
Adds a new item to the collection.
Syntax
Sub Add(key As String, value As String)
Parameters
Name |
Data Type |
Description |
Key |
String |
A unique string to identify the value by |
ObjVer |
String |
The string value to store |
Return
None
Example
'create Pentagon DOCS Script Library object
Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")
'add key value pair
Dim newKVP : Set newKVP = scriptLib.NewStringKvP
newKvP.Add "KeyName","NewValue"