Sage Modeling and Simulation Library

IMOHelper..::..RegisterWithModel Method (IModelObject, Boolean)

Registers the provided IModelObject, keyed on its Guid, with the model, replacing any existing one with the new one, if so indicated.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static void RegisterWithModel(
	IModelObject imo,
	bool replaceOk
)

Parameters

imo
Type: Highpoint.Sage.SimCore..::..IModelObject
The imo.
replaceOk
Type: Boolean
if set to true [replace OK].