MaterialStreamUnsetMaterial Method |
Removes any previously set Material interface.
Namespace: DWSIM.Thermodynamics.StreamsAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax Remarks 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.
See Also