Get Value List Values. May raise exception.
Return Type
A variant value containing an ARRAY of VARIANT, each containing a COM object of type psPortfoliosValueListValueInfo.
Notes: The response of GetValues method will contain both ‘Weight’ and ‘WeightDouble’ elements in the object of type “psPortfoliosValueListValueInfo”.
- If the double(up to 10-digit precision) value is saved, ‘Weight’ element will return rounded float type value and ‘WeightDouble’ element will return double type value.
For example, for a value of 32.1234567890, the value of the ‘Weight’ element will be 32.123455 when rounded as a float, and the ‘WeightDouble’ element will be 32.1234567890 when rounded as a double type value. - If the saved value falls in the range of a float number, then the value of both “Weight” and “WeightDouble” will be same. For example, for a value of 32.12345, the value of Weight and WeightDouble is 32.12345.
Syntax
object.GetValues(sName)
object
is an expression evaluating to an object of type psPortfoliosvalueList.
Arguments
Argument | Data Type | Description |
---|---|---|
sName | String | Name of the ValueList. |
Return Value
For the Return Error Code refer to Error Handling for APIs of type A.
Code Examples in Different Programming Languages
See example of psPortfoliosValueList.GetValue