| 
        
        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.
         |