IForeRuntime.ForeObjectsGraph

Syntax

ForeObjectsGraph: IForeObjectsGraph;

Description

The ForeObjectsGraph property returns access to objects graph in memory.

Comments

The graph enables getting the list of objects in memory and links between them.

Example

Add a link to the Fore system assembly.

Sub UserProc;
Var
    Mb: IMetabase;
    Runtime: IForeRuntime;
    Graph: IForeObjectsGraph;
    
//...
Begin
    Mb := MetabaseClass.Active;
    
//...
    // Executable application code
    //...
    Runtime := (Mb As IForeServices).GetRuntime;
    Graph := Runtime.ForeObjectsGraph;
    Graph.ObjectIndexing := 
True;
    Graph.SaveToFile(
"D:\CurrentObjects.tgf");
    
//...
    // Continuation of application code
    //...
End Sub UserProc;

The specified example displays how get and save graph of objects in memory to the file in the application code.

See also:

IForeRuntime