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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SADataReader class » GetValue methods


GetValue(Int32, Int64, Int32) method

Returns a substring of the value of the specified column as an Object.

Visual Basic

Public Function GetValue( _
   ByVal ordinal As Integer, _
   ByVal index As Long, _
   ByVal length As Integer _
) As Object

public object GetValue(
   int ordinal,
   long index,
   int length
  • ordinal   An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.

  • index   A zero-based index of the substring of the value to be obtained.

  • length   The length of the substring of the value to be obtained.

Return value

The substring value is returned as an object.


This method returns DBNull for NULL database columns.

See also