Sage Modeling and Simulation Library

Substance..::..Add Method

Adds the specified substance to this substance. Both substances must be of the same material type, or an exception will fire.

Namespace:  Highpoint.Sage.Materials.Chemistry
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void Add(
	Substance substance
)

Parameters

substance
Type: Highpoint.Sage.Materials.Chemistry..::..Substance
The substance.

Exceptions


ExceptionCondition
Highpoint.Sage.SimCore..::..WriteProtectionViolationExceptionFired if there is a write lock on the substance.
ApplicationExceptionFired if the substances are not of the same material type.