Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getValueToSet

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

This method gets the value portion of a value object. A value object consists of the column handle and the value for that column. It is retrieved from a row by using the methods dam_getFirstValueSet and dam_getNextValueSet.

The iXoType specifies how you want the value to be returned.

You can obtain the type of the column by using dam_describeCol on the column handle returned by dam_getColToSet.

object dam_getValueToSet(
int64 hRowElem,
int iXoType,
out int piStatus)

Parameters for dam_getValueToSet

Parameter Type Description
IN    
hRowElem int64 Value set handle
iXoType int The data type in which to get the value.
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 data.
DAM_FAILURE – error in getting the data. Most likely the data cannot be converted to the XO_Type asked for.
RETURN    
  Object The data 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