Documentation Center

PslProperties.Name

Returns the name of a custom property. Valid names are arbitrary integers between 1 and 30000 or strings.

Syntax

Expression.Name ( Index as Long) as Variant

Expression Required. Object of type PslProperties

Index Index of the property. A value between 1 and PslProperties.Count

Example

Rem Dump properties of a TransString
Dim t As PslTransString
...
propcount = t.Properties.Count
For i = 1 To propcount
    Dim propname As Variant
    Dim propval As Variant

    propname = t.Properties.Name(j)
    propval = t.Properties.Value(j)
    PSL.Output propname & " = " & propval
Next j