Click or drag to resize

MaterialStreamClearAllProps Method

Remove all stored Physical Property values.

Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
public void ClearAllProps()
Request Example View Source

Implements

ICapeThermoMaterial.ClearAllProps
IMaterialStreamClearAllProps
Remarks
ClearAllProps removes all stored Physical Properties that have been set using the SetSinglePhaseProp, SetTwoPhaseProp or SetOverallProp methods. This means that any subsequent call to retrieve Physical Properties will result in an exception until new values have been stored using one of the Set methods. ClearAllProps does not remove the configuration information for a Material, i.e. the list of Compounds and Phases. Using the ClearAllProps method results in a Material Object that is in the same state as when it was first created. It is an alternative to using the CreateMaterial method but it is expected to have a smaller overhead in operating system resources.
See Also