Material StreamUnset Material Method
Removes any previously set Material interface.
Definition
Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public void UnsetMaterial()VB
Public Sub UnsetMaterialImplements
ICapeThermoMaterialContextUnsetMaterialRemarks
The UnsetMaterial method removes any Material interface previously set by a call to the
SetMaterial method of the ICapeThermoMaterialContext interface. This means that any
methods of other interfaces that depend on having a valid Material Interface, for example
methods of the ICapeThermoPropertyRoutine or ICapeThermoEquilibriumRoutine
interfaces, should behave in the same way as if the SetMaterial method had never been
called.
If UnsetMaterial is called before a call to SetMaterial it has no effect and no exception
should be raised.