xInfo.automationObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the list of COM objects that are available in Finance and Operations.
public:
static cli::array <System::Object ^> ^ automationObjects();
public static object[] automationObjects ();
static member automationObjects : unit -> obj[]
Public Shared Function automationObjects () As Object()
Returns
Object[]
A nested container that holds a description of each COM object.
Remarks
The following example unpacks the nested container that is returned from automationObjects to get a list of COM objects.
void getAutomationObjects()
{
int idx;
FormListItem listItem;
int itemPos;
container clsGUID,clsDesc,clsVersion,clsPath;
[clsGUID,clsDesc,clsVersion,clsPath] = xInfo::automationObjects();
for (idx = 1; idx < conlen(clsGUID); idx++)
{
itemPos = formListControl.add(conpeek(clsDesc,idx));
listItem = formListControl.getItem(itemPos);
listItem.data(conpeek(clsPath,idx));
formListControl.setItem(listItem);
}
}