GetPropertyValueAsString
Description
Gets a property value using the Property ID or Property Alias.
Syntax
Function GetPropertyValueAsString(Vault As Vault, ObjVer As ObjVer, Property As Object) As String
Parameters
Name |
Data Type |
Description |
Vault |
Vault containing the Object |
|
ObjVer |
ObjVer of the object to process |
|
Property |
String / Integer |
Property ID or Property Alias |
Return
Returns the property value as a String. On error returns an empty String.
Example
'create Pentagon DOCS Script Library object
Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")
'get property value as TypedValue
Dim project
project = scriptLib.GetPropertyValueAsString(Vault, ObjVer, "ExDOCS.Property.Project")