Share via


DbDataRecord 成员

实现 IDataRecordICustomTypeDescriptor,并为 DbEnumerator 提供数据绑定支持。

下表列出了由 DbDataRecord 类型公开的成员。

公共属性

  名称 说明
Public property Supported by the .NET Compact Framework FieldCount 指示当前记录中字段的数目。此属性为只读。
Public property Supported by the .NET Compact Framework Item 已重载。指示以其本机格式表示的位于列中的值。此属性为只读。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Supported by the .NET Compact Framework Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetBoolean 以布尔值的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetByte 以字节的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetBytes 以字节数组的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetChar 以字符的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetChars 以字符数组的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetData 当前不支持。
Public method Supported by the .NET Compact Framework GetDataTypeName 返回后端数据类型的名称。
Public method Supported by the .NET Compact Framework GetDateTime DateTime 对象的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetDecimal Decimal 对象的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetDouble 以双精度浮点数的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetFieldType 返回 Type,它是对象的数据类型。
Public method Supported by the .NET Compact Framework GetFloat 以单精度浮点数的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetGuid 返回指定字段的 GUID 值。
Public method Supported by the .NET Compact Framework GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetInt16 以 16 位有符号整数的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetInt32 以 32 位有符号整数的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetInt64 以 64 位有符号整数的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetName 返回指定列的名称。
Public method Supported by the .NET Compact Framework GetOrdinal 在给定列名称的情况下返回列序号。
Public method Supported by the .NET Compact Framework GetString 以字符串的形式返回指定列的值。
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetValue 返回以其本机格式表示的位于指定列的值。
Public method Supported by the .NET Compact Framework GetValues 返回集合中当前记录的所有属性字段。
Public method Supported by the .NET Compact Framework IsDBNull 用于指示不存在的值。
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Supported by the .NET Compact Framework Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method Supported by the .NET Compact Framework MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

显式接口实现

  名称 说明
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetAttributes 有关此成员的说明,请参见 ICustomTypeDescriptor.GetAttributes
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetClassName 有关此成员的说明,请参见 ICustomTypeDescriptor.GetClassName
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetComponentName 有关此成员的说明,请参见 ICustomTypeDescriptor.GetComponentName
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetConverter 有关此成员的说明,请参见 ICustomTypeDescriptor.GetConverter
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent 有关此成员的说明,请参见 ICustomTypeDescriptor.GetDefaultEvent
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty 有关此成员的说明,请参见 ICustomTypeDescriptor.GetDefaultProperty
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetEditor 有关此成员的说明,请参见 ICustomTypeDescriptor.GetEditor
Explicit interface implementation Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetEvents 已重载。 
Explicit interface implementation Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetProperties 已重载。 
Explicit interface implementation Method Supported by the .NET Compact Framework System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner 有关此成员的说明,请参见 ICustomTypeDescriptor.GetPropertyOwner

页首

请参见

参考

DbDataRecord 类
System.Data.Common 命名空间