ICape COSEUtilitiesNamed Value Method
Returns a value corresponding to the request name, including a free FORTRAN channel.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Returns the value corresponding to the value named name. Be aware that two consecutive calls passing the same name may return different values. The COSE will return a different FORTRAN channel each time the FreeFORTRANchannel NamedValue is called for this property. The COSE may not use any of the returned FORTRAN channels for any internally used FORTRAN module.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(2)]
Object NamedValue(
string value
)VB
<DispIdAttribute(2)>
Function NamedValue (
value As String
) As ObjectParameters
- value String
- Name of the requested value (which must be included in the list returned by NamedValueList).
Return Value
ObjectReturns the value corresponding to the value named name. Be aware that two consecutive calls passing the same name may return different values. The COSE will return a different FORTRAN channel each time the FreeFORTRANchannel NamedValue is called for this property. The COSE may not use any of the returned FORTRAN channels for any internally used FORTRAN module.
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. |