Description

Gets a property value using the Property ID or Property Alias. 

Syntax

Function GetPropertyValue(Vault As Vault, ObjVer As ObjVer, Property As Object) As TypedValue

Parameters

Name

Data Type

Description

Vault

Vault

Vault containing the Object

ObjVer

ObjVer

ObjVer of the object to process

Extension

String / Integer

Property ID or Property Alias

Return

Returns the property value as a TypedValue, or nothing on error.

Example

'create Pentagon DOCS Script Library object

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


'get property value as TypedValue

Dim propVal : Set propVal = scriptLib.GetPropertyValue(Vault, ObjVer, "ExDOCS.Project.Project")

Dim project : project = propVal.DisplayValue