Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getValueOfExp

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method gets the value of the argument passed into a scalar method implemented by the IP. Use the methods dam_getFirstValExp and dam_getNextValExp to step through the argument list.

object dam_getValueOfExp(
int64 pMemTree,
int64 hValExpList,
int64 hValExp,
int iXoType,
out int piStatus)

Parameters for dam_getValueOfExp

Parameter Type Description
IN    
pMemTree int64 The memory tree to use for temporary storage
hValExpList int64 The list of arguments as passed into the scalar function
hValExp int64 The argument for which you want to retrieve the data
iXoType int The data type in which to get the value. It can be any data type that can be a conversion target of the argument's data type as defined in the scalar function definition.
OUT    
piStatus int The status of the method call:
DAM_SUCCESS – all data retrieved
DAM_SUCCESS_WITH_RESULT_PENDING – more data is available and should be retrieved by calling this method again. This will occur for a large LONGVARBINARY, LONGVARCHAR, and WLONGVARCHAR data.
DAM_FAILURE – error in getting the data; most likely the data cannot be converted to the specified XO_Type.
RETURN    
  object The argument’s value object. The .NET type of the data will correspond to the iXoType value. See Table 34. A NULL Object is returned if the underlying value is NULL data.

See also

TitleResults for “How to create a CRG?”Also Available inAlert