PropertyPackageUnsetMaterial Method |
Removes any previously set Material interface.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public virtual void UnsetMaterial()
Public Overridable Sub UnsetMaterial
Request Example
View SourceImplements
ICapeThermoMaterialContext.UnsetMaterialRemarks 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