DbDataRecord Class

DbDataRecord Class

 

Implements IDataRecord and ICustomTypeDescriptor, and provides data binding support for DbEnumerator.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)


public abstract class DbDataRecord : ICustomTypeDescriptor, IDataRecord

NameDescription
System_CAPS_protmethodDbDataRecord()

Initializes a new instance of the DbDataRecord class.

NameDescription
System_CAPS_pubpropertyFieldCount

Indicates the number of fields within the current record. This property is read-only.

System_CAPS_pubpropertyItem[Int32]

Indicates the value at the specified column in its native format given the column ordinal. This property is read-only.

System_CAPS_pubpropertyItem[String]

Indicates the value at the specified column in its native format given the column name. This property is read-only.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBoolean(Int32)

Returns the value of the specified column as a Boolean.

System_CAPS_pubmethodGetByte(Int32)

Returns the value of the specified column as a byte.

System_CAPS_pubmethodGetBytes(Int32, Int64, Byte[], Int32, Int32)

Returns the value of the specified column as a byte array.

System_CAPS_pubmethodGetChar(Int32)

Returns the value of the specified column as a character.

System_CAPS_pubmethodGetChars(Int32, Int64, Char[], Int32, Int32)

Returns the value of the specified column as a character array.

System_CAPS_pubmethodGetData(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Not currently supported.

System_CAPS_pubmethodGetDataTypeName(Int32)

Returns the name of the back-end data type.

System_CAPS_pubmethodGetDateTime(Int32)

Returns the value of the specified column as a DateTime object.

System_CAPS_protmethodGetDbDataReader(Int32)

Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation.

System_CAPS_pubmethodGetDecimal(Int32)

Returns the value of the specified column as a Decimal object.

System_CAPS_pubmethodGetDouble(Int32)

Returns the value of the specified column as a double-precision floating-point number.

System_CAPS_pubmethodGetFieldType(Int32)

Returns the Type that is the data type of the object.

System_CAPS_pubmethodGetFloat(Int32)

Returns the value of the specified column as a single-precision floating-point number.

System_CAPS_pubmethodGetGuid(Int32)

Returns the GUID value of the specified field.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetInt16(Int32)

Returns the value of the specified column as a 16-bit signed integer.

System_CAPS_pubmethodGetInt32(Int32)

Returns the value of the specified column as a 32-bit signed integer.

System_CAPS_pubmethodGetInt64(Int32)

Returns the value of the specified column as a 64-bit signed integer.

System_CAPS_pubmethodGetName(Int32)

Returns the name of the specified column.

System_CAPS_pubmethodGetOrdinal(String)

Returns the column ordinal, given the name of the column.

System_CAPS_pubmethodGetString(Int32)

Returns the value of the specified column as a string.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(Int32)

Returns the value at the specified column in its native format.

System_CAPS_pubmethodGetValues(Object[])

Populates an array of objects with the column values of the current record.

System_CAPS_pubmethodIsDBNull(Int32)

Used to indicate nonexistent values.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetAttributes()

Returns a collection of custom attributes for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetClassName()

Returns the class name of this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetComponentName()

Returns the name of this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetConverter()

Returns a type converter for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetDefaultEvent()

Returns the default event for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetDefaultProperty()

Returns the default property for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetEditor(Type)

Returns an editor of the specified type for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetEvents()

Returns the events for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetEvents(Attribute[])

Returns the events for this instance of a component using the specified attribute array as a filter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetProperties()

Returns the properties for this instance of a component.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetProperties(Attribute[])

Returns the properties for this instance of a component using the attribute array as a filter.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

Returns an object that contains the property described by the specified property descriptor.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft