ICape Thermo Material ObjectSet Prop Method
Get some pure component constant(s)
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(7)]
void SetProp(
string property,
string phase,
Object compIds,
string calcType,
string basis,
Object values
)VB
<DispIdAttribute(7)>
Sub SetProp (
property As String,
phase As String,
compIds As Object,
calcType As String,
basis As String,
values As Object
)Parameters
- property String
- The Property for which results are requested from the MaterialObject.
- phase String
- The qualified phase for the results.
- compIds Object
- The qualified components for the results. emptyObject to specify all components in the Material Object. For mixture property such as liquid enthalpy, this qualifier is not required. Use emptyObject as place holder. A System.Object containing a String array marshalled from a COM Object.
- calcType String
- The qualified type of calculation for the results. (valid Calculation Types: Pure and Mixture)
- basis String
- Qualifies the basis of the result (i.e., mass /mole). Default is mole. Use NULL for default or as place holder for property for which basis does not apply (see also Specific properties.
- values Object
- Values to set for the property.
Remarks
This method is responsible for setting the values for properties of the
Material Object. See Notes for a more detailed explanation of the arguments.
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeInvalidArgument | To be used when an invalid argument value is passed, for example, an unrecognised Compound identifier or UNDEFINED for the props argument. |