This documentation is archived and is not being maintained.
DbDataRecord Class
Visual Studio 2010
Implements IDataRecord and ICustomTypeDescriptor, and provides data binding support for DbEnumerator.
Assembly: System.Data (in System.Data.dll)
The DbDataRecord type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | FieldCount | Indicates the number of fields within the current record. This property is read-only. |
![]() ![]() | Item[Int32] | Indicates the value at the specified column in its native format given the column ordinal. This property is read-only. |
![]() ![]() | Item[String] | Indicates the value at the specified column in its native format given the column name. This property is read-only. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetBoolean | Returns the value of the specified column as a Boolean. |
![]() ![]() | GetByte | Returns the value of the specified column as a byte. |
![]() ![]() | GetBytes | Returns the value of the specified column as a byte array. |
![]() ![]() | GetChar | Returns the value of the specified column as a character. |
![]() ![]() | GetChars | Returns the value of the specified column as a character array. |
![]() ![]() | GetData | Infrastructure. Not currently supported. |
![]() ![]() | GetDataTypeName | Returns the name of the back-end data type. |
![]() ![]() | GetDateTime | Returns the value of the specified column as a DateTime object. |
![]() ![]() | GetDbDataReader | Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation. |
![]() ![]() | GetDecimal | Returns the value of the specified column as a Decimal object. |
![]() ![]() | GetDouble | Returns the value of the specified column as a double-precision floating-point number. |
![]() ![]() | GetFieldType | Returns the Type that is the data type of the object. |
![]() ![]() | GetFloat | Returns the value of the specified column as a single-precision floating-point number. |
![]() ![]() | GetGuid | Returns the GUID value of the specified field. |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetInt16 | Returns the value of the specified column as a 16-bit signed integer. |
![]() ![]() | GetInt32 | Returns the value of the specified column as a 32-bit signed integer. |
![]() ![]() | GetInt64 | Returns the value of the specified column as a 64-bit signed integer. |
![]() ![]() | GetName | Returns the name of the specified column. |
![]() ![]() | GetOrdinal | Returns the column ordinal, given the name of the column. |
![]() ![]() | GetString | Returns the value of the specified column as a string. |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GetValue | Returns the value at the specified column in its native format. |
![]() ![]() | GetValues | Populates an array of objects with the column values of the current record. |
![]() ![]() | IsDBNull | Used to indicate nonexistent values. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | ICustomTypeDescriptor::GetAttributes | Returns a collection of custom attributes for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetClassName | Returns the class name of this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetComponentName | Returns the name of this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetConverter | Returns a type converter for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetDefaultEvent | Returns the default event for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetDefaultProperty | Returns the default property for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetEditor | Returns an editor of the specified type for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetEvents() | Returns the events for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetEvents(array<Attribute>) | Returns the events for this instance of a component using the specified attribute array as a filter. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetProperties() | Returns the properties for this instance of a component. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetProperties(array<Attribute>) | Returns the properties for this instance of a component using the attribute array as a filter. |
![]() ![]() ![]() | ICustomTypeDescriptor::GetPropertyOwner | Returns an object that contains the property described by the specified property descriptor. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
