Description

Sets a property value on the specified object using the Property ID or Property Alias. 

Syntax

Sub SetPropertyValue(Vault As Vault, ObjVer As ObjVer, Property As Object, Value As Object)

Parameters

Name

Data Type

Description

Vault

Vault

Vault object containing the Object to process

ObjVer

ObjVer

ObjVer of the object to process

Property

Integer or String

The property ID or the property alias

Value

Object

New property value

Return

No return value.

Example

'create Pentagon DOCS Script Library object

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


'set 'Name or Title' property value

scriptLib.SetPropertyValue Vault, ObjVer, 0, "New Object Name"