This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class DataReader
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class DataReader

The type exposes the following methods.

Public Methods

  Name Description
Public method Close
Closes the IDataReader 0bject.
Public method Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals (Inherited from Object.)
Public method GetBoolean
Gets the value of the specified column as a Boolean.
Public method GetByte
Gets the 8-bit unsigned integer value of the specified column.
Public method GetBytes
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
Public method GetChar
Gets the character value of the specified column.
Public method GetChars
Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
Public method GetData
Gets an IDataReader to be used when the field points to more remote structured data.
Public method GetDataTypeName
Gets the data type information for the specified field.
Public method GetDateTime
Gets the date and time data value of the specified field.
Public method GetDecimal
Gets the fixed-position numeric value of the specified field.
Public method GetDouble
Gets the double-precision floating point number of the specified field.
Public method GetFieldType
Gets the Type information corresponding to the type of Object that would be returned from GetValue.
Public method GetFloat
Gets the single-precision floating point number of the specified field.
Public method GetGuid
Returns the GUID value of the specified field.
Public method GetHashCode (Inherited from Object.)
Public method GetInt16
Gets the 16-bit signed integer value of the specified field.
Public method GetInt32
Gets the 32-bit signed integer value of the specified field.
Public method GetInt64
Gets the 64-bit signed integer value of the specified field.
Public method GetName
Gets the name for the field to find.
Public method GetOrdinal
Return the index of the named field.
Public method GetSchemaTable
Returns a DataTable that describes the column metadata of the IDataReader.
Public method GetString
Gets the string value of the specified field.
Public method GetType (Inherited from Object.)
Public method GetValue
Return the value of the specified field.
Public method GetValues
Gets all the attribute fields in the collection for the current record.
Public method IsDBNull
Return whether the specified field is set to null.
Public method NextResult
Advances the data reader to the next result, when reading the results of batch SQL statements.
Public method Read
Advances the DataReader to the next record.
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

See Also

Advanced