Sage Modeling and Simulation Library

Substance..::..Remove Method (Substance)

Removes the specified substance from 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 virtual Substance Remove(
	Substance substance
)

Parameters

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

Return Value

Substance.

Exceptions


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