Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULDataReader class


GetValue method

Returns the value of the specified column in its native format.

Visual Basic

Public Overrides Function GetValue( _
   ByVal columnID As Integer _
) As Object

public override object GetValue(
   int columnID
  • columnID¬†¬† The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as the .NET type most appropriate for the column or DBNull if column is NULL.


This method is identical in functionality to the ULDataReader.this[int].

See also