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