Description

Adds a new item to the collection.

Syntax

Sub Add(Property As Object, value As Object)

Parameters

Name

Data Type

Description

Property

String or Integer

Property ID or Alias

Value

Object

New Property value

Return

None

Example

'create Pentagon DOCS Script Library object

Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")


'add to property list

Dim propList : Set propList = scriptLib.NewPropertyList

propList.Add "PropertyAlias","NewValue"

propList.Add 1234,"NewValue2"