PslSourceList.Resource
Returns a PslResource object from this list. If the list is still closed, it will be opened.
Syntax
Expression.Resource (Index as VARIANT, optional Type as VARIANT) as PslSourceString
Expression Object of type PslSourceList
Index Depending on the Type this is either an index or a number.
Type Can be one of the following values:
pslIndex (default, Value = 0): An arbitrary resource is returned. Index is the Index of the resource, corresponding to all existing undeleted resources. The first resource has got the Index 1.
pslIndexDeleted (Value = 4): Works like pslIndex but returns deleted resources from the recycle bin.
pslNumber (Value = 3): An arbitrary resource is returned. Index is the Number of the string.