IDataRecord Members
.NET Framework 3.0
Provides access to the column values within each row for a DataReader, and is implemented by .NET Framework data providers that access relational databases.
The following tables list the members exposed by the IDataRecord type.
| Name | Description | |
|---|---|---|
| FieldCount | Gets the number of columns in the current row. |
| Item | Overloaded. Gets the specified column. |
| Name | Description | |
|---|---|---|
| GetBoolean | Gets the value of the specified column as a Boolean. |
| GetByte | Gets the 8-bit unsigned integer value of the specified column. |
| GetBytes | Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. |
| GetChar | Gets the character value of the specified column. |
| GetChars | Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. |
| GetData | Returns an IDataReader for the specified column ordinal. |
| GetDataTypeName | Gets the data type information for the specified field. |
| GetDateTime | Gets the date and time data value of the specified field. |
| GetDecimal | Gets the fixed-position numeric value of the specified field. |
| GetDouble | Gets the double-precision floating point number of the specified field. |
| GetFieldType | Gets the Type information corresponding to the type of Object that would be returned from GetValue. |
| GetFloat | Gets the single-precision floating point number of the specified field. |
| GetGuid | Returns the GUID value of the specified field. |
| GetInt16 | Gets the 16-bit signed integer value of the specified field. |
| GetInt32 | Gets the 32-bit signed integer value of the specified field. |
| GetInt64 | Gets the 64-bit signed integer value of the specified field. |
| GetName | Gets the name for the field to find. |
| GetOrdinal | Return the index of the named field. |
| GetString | Gets the string value of the specified field. |
| GetValue | Return the value of the specified field. |
| GetValues | Gets all the attribute fields in the collection for the current record. |
| IsDBNull | Return whether the specified field is set to null. |