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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SADataReader class » GetValue methods

GetValue(Int32) method Next Page

GetValue(Int32, Int64, Int32) method


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

Syntax

Visual Basic

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

C#

public object GetValue(
int ordinal,
long index,
int length
);

Parameters
Return value

The substring value is returned as an object.

Remarks

This method returns DBNull for NULL database columns.

See also