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


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:

errorreturn status
string InstanceNames[]
string ClassNames[]
 
status = SharedObjectDirectory(InstanceNames, &
   ClassNames)

See also

SharedObjectGet

SharedObjectRegister