SharedObjectDirectory

Description

Retrieves the list of objects that have been registered for sharing.

Syntax

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

Returns

ErrorReturn. Returns one of the following values:

Usage

Use this function to obtain a list of objects that have been registered for sharing.

Examples

Example 1

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)

See also