Item 属性 (Int32)

Gets the item corresponding to the ordinal position idx.不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    idx As Integer _
) As Object
    Get
用法
Dim instance As DataProvider
Dim idx As Integer
Dim value As Object

value = instance(idx)
public Object this[
    int idx
] { get; }
public:
virtual property Object^ default[int idx] {
    Object^ get (int idx) sealed;
}
abstract Item : Object
override Item : Object
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:System. . :: . .Object
The value of the specified column in its native format.

实现

IDataRecord. . :: . .Item[ ( [ ( Int32] ) ] )