SharedObjectDirectory
PowerScript function
Description
Retrieves the list of objects that have been registered for
sharing.
Syntax
|
1 |
SharedObjectDirectory ( instancenames {, classnames } ) |
|
Argument |
Description |
|---|---|
|
instancenames |
An unbounded array of type string in which you want to |
|
classnames (optional) |
An unbounded array of type string in which you want to |
Return value
ErrorReturn. Returns one of the following values:
-
Success! — The function succeeded
-
FeatureNotSupportedError! — This function is not supported on
this platform
Usage
Use this function to obtain a list of objects that have been
registered for sharing.
Examples
In this example, the application retrieves the list of shared
objects and their class names:
|
1 2 3 4 5 6 |
errorreturn status string InstanceNames[] string ClassNames[] status = SharedObjectDirectory(InstanceNames, & ClassNames) |
See also