Click or drag to resize
SoWinExit Method (Int32)

Tells the main event loop to exit with a return code.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public static void Exit(
	int returnCode
)

Parameters

returnCode
Type: SystemInt32
Remarks

After this function has been called, the OIV.Inventor.Win.SoWin.MainLoop() function returns returnCode. If the event loop is not running, this function does nothing.

By convention, a returnCode of 0 means success, and any non-zero value indicates an error.

See Also