Description

Returns the value from the collection in the given namespace.

Syntax

Function GetNamedValue(Namespace As String, ValueName As String) As Object

Parameters

Name

Data Type

Description

Namespace

String

Unique identifier for the value collection

ValueName

String

Name of the value to get 

Return

Returns the value from the collection in the given namespace. Throws an exception if the value is null.

Example

'create Pentagon DOCS Script Library object

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


value = scriptLib.GetNamedValue("Namespace", "ValueName")