SqlCeResultSet.Item 属性 (Int32)
作为 SqlCeResultSet 的索引器。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Public Overrides ReadOnly Default Property Item ( _
index As Integer _
) As Object
Get
用法
Dim instance As SqlCeResultSet
Dim index As Integer
Dim value As Object
value = instance(index)
public override Object this[
int index
] { get; }
public:
virtual property Object^ default[int index] {
Object^ get (int index) override;
}
abstract Item : Object
override Item : Object
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- index
类型:System.Int32
此项在 ResultSet 中的位置。
属性值
类型:System.Object
指定的索引处的记录。