Item(Int32) property

Returns the value of the specified column in its native format. In C#, this property is the indexer for the ULDataReader class.

Syntax
Visual Basic
Public Overrides Default Readonly Property Item( _
   ByVal columnID As Integer _
) As Object
C#
public override object this[ 
   int columnID
] { get;}
Parameters
  • 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.

Property value

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

Remarks

This method is identical in functionality to the ULDataReader.GetValue(int) method.

See also